ui.js is part of Aloha Editor project http://www.alohaeditor.org
Aloha Editor ● JavaScript Content Editing Library
Copyright (c) 2010-2015 Gentics Software GmbH, Vienna, Austria.
Contributors http://www.alohaeditor.org/docs/contributing.html
Aloha Editor ● JavaScript Content Editing Library
Copyright (c) 2010-2015 Gentics Software GmbH, Vienna, Austria.
Contributors http://www.alohaeditor.org/docs/contributing.html
Members
-
commandsObject
-
UI Commands.
Commands:
p
h1
h2
h3
h4
ol
ul
pre
bold
italic
underline
unformat
Methods
-
Binds the given function to only be executed if the current document
selection is inside the given editable(s).Name Type Description editables
Editable | Array.<Editable> fn
function -
Binds the given command.
Name Type Description cmd
Command editables
Array.<Editable> optional -
Determines the states of the commands for the given event.
Name Type Description commands
Object.<string, command> event
Event