Skip to content

Commit 5856589

Browse files
committed
Bump api-version to 8.2.0.
1 parent 1c961fc commit 5856589

File tree

4 files changed

+39
-5
lines changed

4 files changed

+39
-5
lines changed

.api-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
8.1.2
1+
8.2.0

modules/ROOT/pages/apis/tinymce.dom.scriptloader.adoc

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
= tinymce.dom.ScriptLoader
22
:navtitle: tinymce.dom.ScriptLoader
33
:description: This class handles asynchronous/synchronous loading of JavaScript files it will execute callbacks when various items gets loaded. This class is useful to load external JavaScript files.
4-
:keywords: add, isDone, loadQueue, loadScript, loadScripts, markDone
4+
:keywords: add, getScriptAttributes, isDone, loadQueue, loadScript, loadScripts, markDone
55
:moxie-type: api
66

77
This class handles asynchronous/synchronous loading of JavaScript files it will execute callbacks when various items gets loaded. This class is useful to load external JavaScript files.
@@ -37,6 +37,7 @@ scriptLoader.loadQueue().then(() => {
3737
|===
3838
|Name|Summary|Defined by
3939
|xref:#add[add()]|Adds a specific script to the load queue of the script loader.|`xref:apis/tinymce.dom.scriptloader.adoc[ScriptLoader]`
40+
|xref:#getScriptAttributes[getScriptAttributes()]|Returns the attributes that should be added to a script tag when loading the specified URL.|`xref:apis/tinymce.dom.scriptloader.adoc[ScriptLoader]`
4041
|xref:#isDone[isDone()]|Returns true/false if a script has been loaded or not.|`xref:apis/tinymce.dom.scriptloader.adoc[ScriptLoader]`
4142
|xref:#loadQueue[loadQueue()]|Starts the loading of the queue.|`xref:apis/tinymce.dom.scriptloader.adoc[ScriptLoader]`
4243
|xref:#loadScript[loadScript()]|Loads a specific script directly without adding it to the load queue.|`xref:apis/tinymce.dom.scriptloader.adoc[ScriptLoader]`
@@ -67,6 +68,24 @@ Adds a specific script to the load queue of the script loader.
6768

6869
'''
6970

71+
[[getScriptAttributes]]
72+
=== getScriptAttributes()
73+
[source, javascript]
74+
----
75+
getScriptAttributes(url: String): Object
76+
----
77+
Returns the attributes that should be added to a script tag when loading the specified URL.
78+
79+
==== Parameters
80+
81+
* `url (String)` - Url to get attributes for.
82+
83+
==== Return value
84+
85+
* `Object` - Object with attributes to add to the script tag.
86+
87+
'''
88+
7089
[[isDone]]
7190
=== isDone()
7291
[source, javascript]

modules/ROOT/pages/apis/tinymce.html.schema.adoc

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
= tinymce.html.Schema
22
:navtitle: tinymce.html.Schema
33
:description: Schema validator class.
4-
:keywords: addCustomElements, addValidChildren, addValidElements, children, getBlockElements, getBoolAttrs, getCustomElements, getElementRule, getInvalidStyles, getMoveCaretBeforeOnEnterElements, getNonEmptyElements, getSelfClosingElements, getSpecialElements, getTextBlockElements, getTextInlineElements, getTransparentElements, getValidClasses, getValidStyles, getVoidElements, getWhitespaceElements, isValid, isValidChild, setValidElements
4+
:keywords: addCustomElements, addValidChildren, addValidElements, children, getBlockElements, getBoolAttrs, getComponentUrls, getCustomElements, getElementRule, getInvalidStyles, getMoveCaretBeforeOnEnterElements, getNonEmptyElements, getSelfClosingElements, getSpecialElements, getTextBlockElements, getTextInlineElements, getTransparentElements, getValidClasses, getValidStyles, getVoidElements, getWhitespaceElements, isValid, isValidChild, setValidElements
55
:moxie-type: api
66

77
Schema validator class.
@@ -36,6 +36,7 @@ format is for example `element[attr=default{vbar}otherattr]`.
3636
Existing rules will be replaced with the ones specified, so this extends the schema.|`xref:apis/tinymce.html.schema.adoc[Schema]`
3737
|xref:#getBlockElements[getBlockElements()]|Returns a map with block elements.|`xref:apis/tinymce.html.schema.adoc[Schema]`
3838
|xref:#getBoolAttrs[getBoolAttrs()]|Returns a map with boolean attributes.|`xref:apis/tinymce.html.schema.adoc[Schema]`
39+
|xref:#getComponentUrls[getComponentUrls()]|Returns an object of all custom elements that have component URLs.|`xref:apis/tinymce.html.schema.adoc[Schema]`
3940
|xref:#getCustomElements[getCustomElements()]|Returns an map object of all custom elements.|`xref:apis/tinymce.html.schema.adoc[Schema]`
4041
|xref:#getElementRule[getElementRule()]|Returns true/false if the specified element is valid or not
4142
according to the schema.|`xref:apis/tinymce.html.schema.adoc[Schema]`
@@ -141,6 +142,20 @@ Returns a map with boolean attributes.
141142

142143
'''
143144

145+
[[getComponentUrls]]
146+
=== getComponentUrls()
147+
[source, javascript]
148+
----
149+
getComponentUrls(): Object
150+
----
151+
Returns an object of all custom elements that have component URLs.
152+
153+
==== Return value
154+
155+
* `Object` - Object with where key is the component and the value is the url for that component.
156+
157+
'''
158+
144159
[[getCustomElements]]
145160
=== getCustomElements()
146161
[source, javascript]

modules/ROOT/pages/apis/tinymce.undomanager.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,14 +43,14 @@ be ignored. So a translation can include calls to execCommand or editor.insertCo
4343
=== add()
4444
[source, javascript]
4545
----
46-
add(level: Object, event: DOMEvent): Object
46+
add(level: Object, event: EditorEvent): Object
4747
----
4848
Adds a new undo level/snapshot to the undo list.
4949

5050
==== Parameters
5151

5252
* `level (Object)` - Optional undo level object to add.
53-
* `event (DOMEvent)` - Optional event responsible for the creation of the undo level.
53+
* `event (EditorEvent)` - Optional event responsible for the creation of the undo level.
5454

5555
==== Return value
5656

0 commit comments

Comments
 (0)