Information Technology is badly documented. Within that field, programming is particularly badly documented. Within that discipline, APIs are especially badly documeted, and within that subset lies TinyMCE.
It’s not rare to find bad documentation, but it is rare to find examples which are so…
tinymce.Annotator This is the annotator api.
annotationChanged() Executes the specified callback when the current selection matches the annotation or not.
get Boolean Optional state gets added for the setContent event then it’s set to true.
noCaretAfter Boolean Returns true/false if the browser can or can’t place the caret after a inline block like an image.
extra() Adds an extra “hidden” undo level by first applying the first mutation and store that to the undo stack then roll back that change and do the second mutation on top of the stack. This will produce an extra undo level that the user doesn’t see until they undo.
DOMUtils() Constructs a new DOMUtils instance. Consult the Wiki for more details on settings etc for this class.
destroy() Destroys all internal references to the DOM to solve IE leak issues.
split() Splits an element into two new elements and places the specified split element or elements between the new ones.
attr() Sets/gets properties on the elements in the current set.
destroy() Destroys the editor instance by removing all events, element references or other resources that could leak memory. This method will be called automatically when the page is unloaded but you can also call it directly if you know what you are doing.
after() Adds the specified elements after current set nodes. append() Appends the specified node/html or node set to the current set nodes.
clamp() Returns a rect clamped within the specified clamp rect. This forces the rect to be inside the clamp rect.
relativePosition() Returns the rect positioned based on the relative position name to the target rect.
getElementRule() Returns true/false if the specified element is valid or not according to the schema.
Parameters name (String) – Element name to check for. Return value (Object) – Element object or undefined if the element isn’t valid.
getInvalidStyles() Name/value map object with valid styles for each element.
blur() Blurs the current control.
getParentCtrl() Returns a control instance for the current DOM element.
on() Binds a callback to the specified event. This event can both be native browser events like “click” or custom ones like PostRender. The callback function will be passed a DOM event like object that enables yout do stop propagation.
icon String Icon to use for button. image String Image to use for icon.
hideAll() Hide all visible float panels with he autohide setting enabled. This is for manually hiding floating menus or panels. hideAll() Hide all visible float panels with he autohide setting enabled. This is for manually hiding floating menus or panels.
tinymce.ui.GridLayout This layout manager places controls in a grid.
hideAll() Hide all visible float panels with he autohide setting enabled. This is for manually hiding floating menus or panels.
tinymce.ui.Progress Progress control.
show() Sets the visible state to true. visible() Sets/gets the visible for the control.
getContentAreaContainer():Element Returns the editors content area container element.
isNotDirty : Boolean : State to force the editor to return false on a isDirty call.
remove(name:String, path:Strong, domain:Strong):void [static] Removes/deletes a cookie by name.
showMenu():void Shows the menu.
onStoreDraft(sender:AutoSave, draft:Object) This event gets fired when a draft is stored to local storage. onStoreDraft(sender:AutoSave, draft:Object) This event gets fired when a draft is restored from local storage.
So for example: a b c will become a b c
public function getLength():void Executes the specified callback function for the menu item. In this case when the user clicks the menu item.