Skip to content

Commit 1f0c5cf

Browse files
committed
Resolving build warnings
1 parent 6fdaa10 commit 1f0c5cf

File tree

216 files changed

+595
-681
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

216 files changed

+595
-681
lines changed

modules/ROOT/nav.adoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ This is a nav file. the following info is for reference only at this time.
66
:type: index
77
////
88

9+
* link:{product_homepage}/get-tiny/[+++<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"> <path fill="#3F3F3F" fill-rule="evenodd" d="M8 12c-.3 0-.5-.1-.7-.3L1.6 6 3 4.6l4 4V0h2v8.6l4-4L14.4 6l-5.7 5.7c-.2.2-.4.3-.7.3zm-7 2h14v2H1v-2z"></path> </svg>+++ Get TinyMCE] Get TinyMCE]
10+
911
* xref:quick-start.adoc[]
1012
1113
* General configuration guide

modules/ROOT/pages/advanced/annotations.adoc

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ anchor:usingtheannotatorplugin[historical anchor]
1717

1818
To set up the TinyMCE Annotation plugin, perform the following procedure:
1919

20-
[[1-configure-the-annotate-button]]
20+
[[configure-the-annotate-button]]
2121
=== 1. Configure the Annotate Button
2222
anchor:1configuretheannotatebutton[historical anchor]
2323

@@ -41,7 +41,7 @@ setup: function(ed) {
4141

4242
See link:{rootDir}configure/index.html[Configure TinyMCE] for more information on how to configure TinyMCE core.
4343

44-
[[2-registering-the-annotator-plugin]]
44+
[[registering-the-annotator-plugin]]
4545
=== 2. Registering the Annotator Plugin
4646
anchor:2registeringtheannotatorplugin[historical anchor]
4747

@@ -68,7 +68,7 @@ This will register an annotation with the name `alpha`. In our example, when an
6868
NOTE: The data passed through here is the same as the data specified when calling the annotate API. `decorate` is used to turn the annotation data into a document object model (DOM) representation.
6969
The uid passed through to `decorate` is either the uid field in the data object (if it exists), or a randomly generated uid if it doesn't. Annotator will be responsible for putting the uid on the span. The user does not need to do that part.
7070

71-
[[3-making-the-plugin-available]]
71+
[[making-the-plugin-available]]
7272
=== 3. Making the Plugin Available
7373
anchor:3makingthepluginavailable[historical anchor]
7474

@@ -79,7 +79,7 @@ For adding the annotate tool to the toolbar that is registered with `alpha` set
7979
toolbar: "annotate-alpha"
8080
----
8181

82-
[[4-applying-annotations]]
82+
[[applying-annotations]]
8383
=== 4. Applying Annotations
8484
anchor:4applyingannotations[historical anchor]
8585

@@ -107,7 +107,7 @@ Example of specifying your own `uid`:
107107
});
108108
----
109109

110-
[[5-listening-to-selection-events]]
110+
[[listening-to-selection-events]]
111111
=== 5. Listening to Selection Events
112112
anchor:5listeningtoselectionevents[historical anchor]
113113

modules/ROOT/pages/advanced/handle-async-image-uploads.adoc

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ To avoid this situation, it is recommended that the `editor.uploadImages()` func
1919
Examples of this function are below:
2020

2121
[[using-uploadimages-with-jquery]]
22-
==== Using uploadImages with jQuery
22+
== Using uploadImages with jQuery
2323
anchor:usinguploadimageswithjquery[historical anchor]
2424

2525
[source,js]
@@ -32,7 +32,7 @@ tinymce.activeEditor.uploadImages(function(success) {
3232
----
3333

3434
[[using-uploadimages-and-then-posting-a-form]]
35-
==== Using uploadImages and then posting a form
35+
== Using uploadImages and then posting a form
3636
anchor:usinguploadimagesandthenpostingaform[historical anchor]
3737

3838
[source,js]
@@ -43,7 +43,7 @@ tinymce.activeEditor.uploadImages(function(success) {
4343
----
4444

4545
[[image-uploader-requirements]]
46-
==== Image Uploader requirements
46+
== Image Uploader requirements
4747
anchor:imageuploaderrequirements[historical anchor]
4848

4949
To upload local images to the remote server, you will need a server-side upload handler script that accepts the images on the server, stores them appropriately, and returns a JSON object containing the location that they were uploaded to.
@@ -70,7 +70,7 @@ This server-side upload handler must return a JSON object that contains a "locat
7070
----
7171

7272
[[image-uploader-options]]
73-
==== Image Uploader options
73+
=== Image Uploader options
7474
anchor:imageuploaderoptions[historical anchor]
7575

7676
Multiple configuration options will affect the operation of this feature. These options are listed below.
@@ -106,7 +106,7 @@ tinymce.init({
106106
----
107107

108108
[[rolling-your-image-handler]]
109-
==== Rolling your image handler
109+
=== Rolling your image handler
110110
anchor:rollingyourimagehandler[historical anchor]
111111

112112
If the default behavior of TinyMCE's image upload logic is not right for you, you may set your behavior by using the images_upload_handler configuration property.
@@ -152,7 +152,7 @@ xhr.send(formData); } });
152152
----
153153

154154
[[cors-considerations]]
155-
==== CORS considerations
155+
=== CORS considerations
156156
anchor:corsconsiderations[historical anchor]
157157

158158
You may choose for your web application to upload image data to a separate domain. If so, you will need to configure http://en.wikipedia.org/wiki/Cross-origin_resource_sharing[Cross-origin resource sharing (CORS)] for your application to comply with JavaScript "same origin" restrictions.

modules/ROOT/pages/advanced/php-upload-handler.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ The following script creates a server-side upload handler in PHP suitable for us
1111
Please note that this script is provided for your reference - you'll need to update this as necessary for your application.
1212

1313
[[example-postacceptorphp]]
14-
===== Example postAcceptor.php
14+
== Example postAcceptor.php
1515
anchor:examplepostacceptorphp[historical anchor]
1616

1717
[source,php]

modules/ROOT/pages/advanced/usage-with-module-loaders.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ TinyMCE can easily be installed with `npm` and used with module loaders such as
1111
The first thing you have to decide is how to load your modules.
1212

1313
[[es2015-modules]]
14-
=== ES2015 modules
14+
== ES2015 modules
1515
anchor:es2015modules[historical anchor]
1616

1717
If you are using ES2015 modules, a simple example could look something like this.
@@ -36,7 +36,7 @@ tinymce.init({
3636
----
3737

3838
[[commonjs-modules]]
39-
=== CommonJS modules
39+
== CommonJS modules
4040
anchor:commonjsmodules[historical anchor]
4141

4242
If you are using CommonJS modules, the example looks pretty much the same, only using the different `require` function to import the dependencies.

modules/ROOT/pages/api/tinymce.dom/tinymce.dom.domquery.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -413,7 +413,7 @@ grep(array:Array, callback:function):Array
413413

414414
Filters out items from the input array by calling the specified function for each item. If the function returns false the item will be excluded if it returns true it will be included.
415415

416-
[[examples]]
416+
[[examples-grep]]
417417
==== Examples
418418

419419
[source,js]

modules/ROOT/pages/api/tinymce.dom/tinymce.dom.domutils.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ add(parentElm:String, name:String, attrs:Object, html:String, create:Boolean):El
138138

139139
Adds the specified element to another element or elements.
140140

141-
[[examples]]
141+
[[examples-add]]
142142
==== Examples
143143

144144
[source,js]

modules/ROOT/pages/api/tinymce.dom/tinymce.dom.selection.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ getBookmark(type:Number, normalized:Boolean):Object
8383

8484
Returns a bookmark location for the current selection. This bookmark object can then be used to restore the selection after some content modification to the document.
8585

86-
[[examples]]
86+
[[examples-getbookmark]]
8787
==== Examples
8888

8989
[source,js]

modules/ROOT/pages/api/tinymce.html/tinymce.html.domparser.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ addAttributeFilter(callback:function)
3434

3535
Adds a attribute filter function to the parser, the parser will collect nodes that has the specified attributes and then execute the callback once it has finished parsing the document.
3636

37-
[[examples]]
37+
[[examples-addattributefilter]]
3838
==== Examples
3939

4040
[source,js]

modules/ROOT/pages/api/tinymce.html/tinymce.html.node.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ append(node:tinymce.html.Node):tinymce.html.Node
6767

6868
Appends a new node as a child of the current node.
6969

70-
[[examples]]
70+
[[examples-append]]
7171
==== Examples
7272

7373
[source,js]

0 commit comments

Comments
 (0)