diff --git a/.api-version b/.api-version index 4122521804..73a86b1970 100644 --- a/.api-version +++ b/.api-version @@ -1 +1 @@ -7.0.0 \ No newline at end of file +7.0.1 \ No newline at end of file diff --git a/modules/ROOT/pages/apis/tinymce.editor.adoc b/modules/ROOT/pages/apis/tinymce.editor.adoc index f5a4852c8b..f07065caf5 100644 --- a/modules/ROOT/pages/apis/tinymce.editor.adoc +++ b/modules/ROOT/pages/apis/tinymce.editor.adoc @@ -83,11 +83,12 @@ manipulation functions.|`xref:apis/tinymce.editor.adoc[Editor]` 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.|`xref:apis/tinymce.editor.adoc[Editor]` |xref:#dispatch[dispatch()]|Dispatches the specified event by name. Consult the -link:https://www.tiny.cloud/docs/tinymce/6/events/[event reference] for more details on each event.|`xref:apis/tinymce.util.observable.adoc[Observable]` + +link:https://www.tiny.cloud/docs/tinymce/7/events/[event reference] for more details on each event.|`xref:apis/tinymce.util.observable.adoc[Observable]` |xref:#execCommand[execCommand()]|Executes a registered command on the current instance. A list of available commands can be found in the tinymce command identifiers documentation.|`xref:apis/tinymce.editor.adoc[Editor]` |xref:#fire[fire()]|Fires the specified event by name. Consult the -link:https://www.tiny.cloud/docs/tinymce/6/events/[event reference] for more details on each event. +link:https://www.tiny.cloud/docs/tinymce/7/events/[event reference] for more details on each event. __Deprecated in TinyMCE 6.0 and has been marked for removal in TinyMCE 7.0. Use `dispatch` instead.__|`xref:apis/tinymce.util.observable.adoc[Observable]` |xref:#focus[focus()]|Focuses/activates the editor. This will set this editor as the activeEditor in the tinymce collection it will also place DOM focus inside the editor.|`xref:apis/tinymce.editor.adoc[Editor]` @@ -121,11 +122,11 @@ so all events etc that method has will get dispatched as well.|`xref:apis/tinymc |xref:#nodeChanged[nodeChanged()]|Dispatches out a onNodeChange event to all observers. This method should be called when you need to update the UI states or element path etc.|`xref:apis/tinymce.editor.adoc[Editor]` |xref:#off[off()]|Unbinds an event listener to a specific event by name. Consult the -link:https://www.tiny.cloud/docs/tinymce/6/events/[event reference] for more details on each event.|`xref:apis/tinymce.util.observable.adoc[Observable]` +link:https://www.tiny.cloud/docs/tinymce/7/events/[event reference] for more details on each event.|`xref:apis/tinymce.util.observable.adoc[Observable]` |xref:#on[on()]|Binds an event listener to a specific event by name. Consult the -link:https://www.tiny.cloud/docs/tinymce/6/events/[event reference] for more details on each event.|`xref:apis/tinymce.util.observable.adoc[Observable]` +link:https://www.tiny.cloud/docs/tinymce/7/events/[event reference] for more details on each event.|`xref:apis/tinymce.util.observable.adoc[Observable]` |xref:#once[once()]|Bind the event callback and once it fires the callback is removed. Consult the -link:https://www.tiny.cloud/docs/tinymce/6/events/[event reference] for more details on each event.|`xref:apis/tinymce.util.observable.adoc[Observable]` +link:https://www.tiny.cloud/docs/tinymce/7/events/[event reference] for more details on each event.|`xref:apis/tinymce.util.observable.adoc[Observable]` |xref:#queryCommandState[queryCommandState()]|Returns a command specific state, for example if bold is enabled or not.|`xref:apis/tinymce.editor.adoc[Editor]` |xref:#queryCommandSupported[queryCommandSupported()]|Returns true/false if the command is supported or not.|`xref:apis/tinymce.editor.adoc[Editor]` |xref:#queryCommandValue[queryCommandValue()]|Returns a command specific value, for example the current font size.|`xref:apis/tinymce.editor.adoc[Editor]` @@ -336,7 +337,7 @@ but you can also call it directly if you know what you are doing. dispatch(name: String, args: Object?, bubble: Boolean?): Object ---- Dispatches the specified event by name. Consult the -link:https://www.tiny.cloud/docs/tinymce/6/events/[event reference] for more details on each event. +link:https://www.tiny.cloud/docs/tinymce/7/events/[event reference] for more details on each event. ==== Examples [source, javascript] @@ -385,7 +386,7 @@ the tinymce command identifiers documentation. fire(name: String, args: Object?, bubble: Boolean?): Object ---- Fires the specified event by name. Consult the -link:https://www.tiny.cloud/docs/tinymce/6/events/[event reference] for more details on each event. +link:https://www.tiny.cloud/docs/tinymce/7/events/[event reference] for more details on each event. __Deprecated in TinyMCE 6.0 and has been marked for removal in TinyMCE 7.0. Use `dispatch` instead.__ ==== Examples @@ -751,7 +752,7 @@ need to update the UI states or element path etc. off(name: String?, callback: Function?): Object ---- Unbinds an event listener to a specific event by name. Consult the -link:https://www.tiny.cloud/docs/tinymce/6/events/[event reference] for more details on each event. +link:https://www.tiny.cloud/docs/tinymce/7/events/[event reference] for more details on each event. ==== Examples [source, javascript] @@ -784,7 +785,7 @@ instance.off(); on(name: String, callback: Function, prepend: Boolean): Object ---- Binds an event listener to a specific event by name. Consult the -link:https://www.tiny.cloud/docs/tinymce/6/events/[event reference] for more details on each event. +link:https://www.tiny.cloud/docs/tinymce/7/events/[event reference] for more details on each event. ==== Examples [source, javascript] @@ -813,7 +814,7 @@ instance.on('event', (e) => { once(name: String, callback: Function): Object ---- Bind the event callback and once it fires the callback is removed. Consult the -link:https://www.tiny.cloud/docs/tinymce/6/events/[event reference] for more details on each event. +link:https://www.tiny.cloud/docs/tinymce/7/events/[event reference] for more details on each event. ==== Parameters diff --git a/modules/ROOT/pages/apis/tinymce.editor.ui.registry.adoc b/modules/ROOT/pages/apis/tinymce.editor.ui.registry.adoc index 44025a5f98..f4250cedc0 100644 --- a/modules/ROOT/pages/apis/tinymce.editor.ui.registry.adoc +++ b/modules/ROOT/pages/apis/tinymce.editor.ui.registry.adoc @@ -42,7 +42,7 @@ UI Components - Context Menu].|`xref:apis/tinymce.editor.ui.registry.adoc[Regist |xref:#addContextToolbar[addContextToolbar()]|Registers a new context toolbar that only appears when a content predicate is matched for example the cursor is on an image element. For information on creating context toolbars, see: -link:https://www.tiny.cloud/docs/tinymce/6/contexttoolbar/[ +link:https://www.tiny.cloud/docs/tinymce/7/contexttoolbar/[ UI Components - Context Toolbar].|`xref:apis/tinymce.editor.ui.registry.adoc[Registry]` |xref:#addGroupToolbarButton[addGroupToolbarButton()]|Registers a new group toolbar button for the toolbar. Renders a toolbar button that opens a floating toolbar when clicked. @@ -201,7 +201,7 @@ addContextToolbar(name: String, obj: Toolbar.ContextToolbarSpec) Registers a new context toolbar that only appears when a content predicate is matched for example the cursor is on an image element. For information on creating context toolbars, see: -link:https://www.tiny.cloud/docs/tinymce/6/contexttoolbar/[ +link:https://www.tiny.cloud/docs/tinymce/7/contexttoolbar/[ UI Components - Context Toolbar]. ==== Parameters diff --git a/modules/ROOT/pages/apis/tinymce.notificationmanager.adoc b/modules/ROOT/pages/apis/tinymce.notificationmanager.adoc index ecc9dbd46c..ffba33ce3a 100644 --- a/modules/ROOT/pages/apis/tinymce.notificationmanager.adoc +++ b/modules/ROOT/pages/apis/tinymce.notificationmanager.adoc @@ -69,6 +69,6 @@ Opens a new notification. * `args (Object)` - A `name: value` collection containing settings such as: `timeout`, `type`, and message (`text`). -For information on the available settings, see: link:https://www.tiny.cloud/docs/tinymce/6/creating-custom-notifications/[Create custom notifications]. +For information on the available settings, see: link:https://www.tiny.cloud/docs/tinymce/7/creating-custom-notifications/[Create custom notifications]. ''' diff --git a/modules/ROOT/pages/apis/tinymce.root.adoc b/modules/ROOT/pages/apis/tinymce.root.adoc index 7a72048596..4c9b577c4b 100644 --- a/modules/ROOT/pages/apis/tinymce.root.adoc +++ b/modules/ROOT/pages/apis/tinymce.root.adoc @@ -52,7 +52,7 @@ Checks if the input object `obj` has the property `prop`.|`xref:apis/tinymce.roo |xref:#inArray[inArray()]|Returns an index of the item or -1 if item is not present in the array.|`xref:apis/tinymce.root.adoc[tinymce]` |xref:#init[init()]|Initializes a set of editors. This method will create editors based on various settings. -For information on basic usage of `init`, see: link:https://www.tiny.cloud/docs/tinymce/6/basic-setup/[Basic setup].|`xref:apis/tinymce.root.adoc[tinymce]` +For information on basic usage of `init`, see: link:https://www.tiny.cloud/docs/tinymce/7/basic-setup/[Basic setup].|`xref:apis/tinymce.root.adoc[tinymce]` |xref:#is[is()]|Checks if a object is of a specific type for example an array.|`xref:apis/tinymce.root.adoc[tinymce]` |xref:#isArray[isArray()]|Returns true/false if the object is an array or not.|`xref:apis/tinymce.root.adoc[tinymce]` |xref:#makeMap[makeMap()]|Makes a name/object map out of an array with names.|`xref:apis/tinymce.root.adoc[tinymce]` @@ -315,7 +315,7 @@ init(options: Object): Promise ---- Initializes a set of editors. This method will create editors based on various settings. -For information on basic usage of `init`, see: link:https://www.tiny.cloud/docs/tinymce/6/basic-setup/[Basic setup]. +For information on basic usage of `init`, see: link:https://www.tiny.cloud/docs/tinymce/7/basic-setup/[Basic setup]. ==== Examples [source, javascript] diff --git a/modules/ROOT/pages/apis/tinymce.util.observable.adoc b/modules/ROOT/pages/apis/tinymce.util.observable.adoc index 8f0329ccf1..f76909ab65 100644 --- a/modules/ROOT/pages/apis/tinymce.util.observable.adoc +++ b/modules/ROOT/pages/apis/tinymce.util.observable.adoc @@ -15,17 +15,17 @@ This mixin adds event binding logic to classes. Adapts the EventDispatcher class |=== |Name|Summary|Defined by |xref:#dispatch[dispatch()]|Dispatches the specified event by name. Consult the -link:https://www.tiny.cloud/docs/tinymce/6/events/[event reference] for more details on each event.|`xref:apis/tinymce.util.observable.adoc[Observable]` +link:https://www.tiny.cloud/docs/tinymce/7/events/[event reference] for more details on each event.|`xref:apis/tinymce.util.observable.adoc[Observable]` |xref:#fire[fire()]|Fires the specified event by name. Consult the -link:https://www.tiny.cloud/docs/tinymce/6/events/[event reference] for more details on each event. +link:https://www.tiny.cloud/docs/tinymce/7/events/[event reference] for more details on each event. __Deprecated in TinyMCE 6.0 and has been marked for removal in TinyMCE 7.0. Use `dispatch` instead.__|`xref:apis/tinymce.util.observable.adoc[Observable]` |xref:#hasEventListeners[hasEventListeners()]|Returns true/false if the object has a event of the specified name.|`xref:apis/tinymce.util.observable.adoc[Observable]` |xref:#off[off()]|Unbinds an event listener to a specific event by name. Consult the -link:https://www.tiny.cloud/docs/tinymce/6/events/[event reference] for more details on each event.|`xref:apis/tinymce.util.observable.adoc[Observable]` +link:https://www.tiny.cloud/docs/tinymce/7/events/[event reference] for more details on each event.|`xref:apis/tinymce.util.observable.adoc[Observable]` |xref:#on[on()]|Binds an event listener to a specific event by name. Consult the -link:https://www.tiny.cloud/docs/tinymce/6/events/[event reference] for more details on each event.|`xref:apis/tinymce.util.observable.adoc[Observable]` +link:https://www.tiny.cloud/docs/tinymce/7/events/[event reference] for more details on each event.|`xref:apis/tinymce.util.observable.adoc[Observable]` |xref:#once[once()]|Bind the event callback and once it fires the callback is removed. Consult the -link:https://www.tiny.cloud/docs/tinymce/6/events/[event reference] for more details on each event.|`xref:apis/tinymce.util.observable.adoc[Observable]` +link:https://www.tiny.cloud/docs/tinymce/7/events/[event reference] for more details on each event.|`xref:apis/tinymce.util.observable.adoc[Observable]` |=== [[methods]] @@ -38,7 +38,7 @@ link:https://www.tiny.cloud/docs/tinymce/6/events/[event reference] for more det dispatch(name: String, args: Object?, bubble: Boolean?): Object ---- Dispatches the specified event by name. Consult the -link:https://www.tiny.cloud/docs/tinymce/6/events/[event reference] for more details on each event. +link:https://www.tiny.cloud/docs/tinymce/7/events/[event reference] for more details on each event. ==== Examples [source, javascript] @@ -65,7 +65,7 @@ instance.dispatch('event', {...}); fire(name: String, args: Object?, bubble: Boolean?): Object ---- Fires the specified event by name. Consult the -link:https://www.tiny.cloud/docs/tinymce/6/events/[event reference] for more details on each event. +link:https://www.tiny.cloud/docs/tinymce/7/events/[event reference] for more details on each event. __Deprecated in TinyMCE 6.0 and has been marked for removal in TinyMCE 7.0. Use `dispatch` instead.__ ==== Examples @@ -111,7 +111,7 @@ Returns true/false if the object has a event of the specified name. off(name: String?, callback: Function?): Object ---- Unbinds an event listener to a specific event by name. Consult the -link:https://www.tiny.cloud/docs/tinymce/6/events/[event reference] for more details on each event. +link:https://www.tiny.cloud/docs/tinymce/7/events/[event reference] for more details on each event. ==== Examples [source, javascript] @@ -144,7 +144,7 @@ instance.off(); on(name: String, callback: Function, prepend: Boolean): Object ---- Binds an event listener to a specific event by name. Consult the -link:https://www.tiny.cloud/docs/tinymce/6/events/[event reference] for more details on each event. +link:https://www.tiny.cloud/docs/tinymce/7/events/[event reference] for more details on each event. ==== Examples [source, javascript] @@ -173,7 +173,7 @@ instance.on('event', (e) => { once(name: String, callback: Function): Object ---- Bind the event callback and once it fires the callback is removed. Consult the -link:https://www.tiny.cloud/docs/tinymce/6/events/[event reference] for more details on each event. +link:https://www.tiny.cloud/docs/tinymce/7/events/[event reference] for more details on each event. ==== Parameters diff --git a/modules/ROOT/pages/apis/tinymce.windowmanager.adoc b/modules/ROOT/pages/apis/tinymce.windowmanager.adoc index cebcb7f4d0..2686c2605f 100644 --- a/modules/ROOT/pages/apis/tinymce.windowmanager.adoc +++ b/modules/ROOT/pages/apis/tinymce.windowmanager.adoc @@ -119,8 +119,8 @@ Opens a new window. ==== Parameters -* `config (Object)` - For information on the available options, see: link:https://www.tiny.cloud/docs/tinymce/6/dialog-configuration/#options[Dialog - Configuration options]. -* `params (Object)` - (Optional) For information on the available options, see: link:https://www.tiny.cloud/docs/tinymce/6/dialog-configuration/#configuration-parameters[Dialog - Configuration parameters]. +* `config (Object)` - For information on the available options, see: link:https://www.tiny.cloud/docs/tinymce/7/dialog-configuration/#options[Dialog - Configuration options]. +* `params (Object)` - (Optional) For information on the available options, see: link:https://www.tiny.cloud/docs/tinymce/7/dialog-configuration/#configuration-parameters[Dialog - Configuration parameters]. ==== Return value @@ -138,7 +138,7 @@ Opens a new window for the specified url. ==== Parameters -* `config (Object)` - For information on the available options, see: link:https://www.tiny.cloud/docs/tinymce/6/urldialog/#configuration[URL dialog - Configuration]. +* `config (Object)` - For information on the available options, see: link:https://www.tiny.cloud/docs/tinymce/7/urldialog/#configuration[URL dialog - Configuration]. ==== Return value