Skip to content

Commit 45f2475

Browse files
committed
fixing some markup
1 parent dc547af commit 45f2475

File tree

117 files changed

+5860
-5859
lines changed

Some content is hidden

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

117 files changed

+5860
-5859
lines changed

antora.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ asciidoc:
99
shared_baseurl:
1010
cdnurl: https://cdn.tiny.cloud/1/no-api-key/tinymce/4.9/tinymce.min.js
1111
moxiemanager_site: https://www.moxiemanager.com
12+
downloadspage: https://www.tiny.cloud/get-tiny/downloads/
1213
contactpage: https://www.tiny.cloud/contact
1314
pricingpage: https://www.tiny.cloud/pricing
1415
default_meta_keywords: tinymce, documentation, docs, plugins, customizable skins, configuration, examples, html, php, java, javascript, image editor, inline editor, distraction-free editor, classic editor

modules/ROOT/pages/advanced/creating-a-skin.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Creating a new skin will allow you to alter the appearance of TinyMCE. If you wo
1212
[[preparation]]
1313
== Preparation
1414

15-
To manually build the `less` files you will have to download the https://www.tinymce.com/download/[TinyMCE development package]. This package contains the source code for the entire TinyMCE project and the `less` files needed to skin the editor or use the https://github.com/tinymce/tinymce/[GitHub version]. You will also need to install https://nodejs.org[Node.js] and the NPM node module dependencies needed for the build process. This https://github.com/tinymce/tinymce/blob/master/readme.md[readme.md] file explains how to build TinyMCE manually.
15+
To manually build the `less` files you will have to download the link:{downloadspage}[TinyMCE development package]. This package contains the source code for the entire TinyMCE project and the `less` files needed to skin the editor or use the https://github.com/tinymce/tinymce/[GitHub version]. You will also need to install https://nodejs.org[Node.js] and the NPM node module dependencies needed for the build process. This https://github.com/tinymce/tinymce/blob/master/readme.md[readme.md] file explains how to build TinyMCE manually.
1616

1717
[[building-skinmincss-from-less-files]]
1818
== Building skin.min.css from less files

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

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ This class handles selection bookmarks.
55
[[constructors]]
66
== Constructors
77

8-
[cols=",,",options="header",]
8+
[cols="1,3,1",options="header",]
99
|===
1010
|name |summary |defined by
1111
|link:#bookmarkmanager[BookmarkManager()] |Constructs a new BookmarkManager instance for a specific selection instance. |link:{baseurl}/api/tinymce.dom/tinymce.dom.bookmarkmanager.html[tinymce.dom.BookmarkManager]
@@ -14,7 +14,7 @@ This class handles selection bookmarks.
1414
[[methods]]
1515
== Methods
1616

17-
[cols=",,",options="header",]
17+
[cols="1,3,1",options="header",]
1818
|===
1919
|name |summary |defined by
2020
|link:#getbookmark[getBookmark()] |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. |link:{baseurl}/api/tinymce.dom/tinymce.dom.bookmarkmanager.html[tinymce.dom.BookmarkManager]
@@ -34,7 +34,7 @@ Constructs a new BookmarkManager instance for a specific selection instance.
3434
[[parameters]]
3535
==== Parameters
3636

37-
* [.param-name]#selection# link:{baseurl}/api/tinymce.dom/tinymce.dom.selection.html[[.param-type]#(tinymce.dom.Selection)#] - Selection instance to handle bookmarks for.
37+
* `+selection+` link:{baseurl}/api/tinymce.dom/tinymce.dom.selection.html[`+(tinymce.dom.Selection)+`] - Selection instance to handle bookmarks for.
3838

3939
== Methods
4040

@@ -48,7 +48,7 @@ Returns a bookmark location for the current selection. This bookmark object can
4848
[[examples]]
4949
==== Examples
5050

51-
[source,prettyprint]
51+
[source,js]
5252
----
5353
// Stores a bookmark of the current selection
5454
var bm = tinymce.activeEditor.selection.getBookmark();
@@ -61,14 +61,14 @@ tinymce.activeEditor.selection.moveToBookmark(bm);
6161

6262
==== Parameters
6363

64-
* [.param-name]#type# [.param-type]#(Number)# - Optional state if the bookmark should be simple or not. Default is complex.
65-
* [.param-name]#normalized# [.param-type]#(Boolean)# - Optional state that enables you to get a position that it would be after normalization.
64+
* `+type+` `+(Number)+` - Optional state if the bookmark should be simple or not. Default is complex.
65+
* `+normalized+` `+(Boolean)+` - Optional state that enables you to get a position that it would be after normalization.
6666

6767
[[return-value]]
6868
==== Return value
6969
anchor:returnvalue[historical anchor]
7070

71-
* [.return-type]#Object# - Bookmark object, use moveToBookmark with this object to restore the selection.
71+
* `+Object+` - Bookmark object, use moveToBookmark with this object to restore the selection.
7272

7373
[[isbookmarknode]]
7474
=== isBookmarkNode
@@ -79,11 +79,11 @@ Returns true/false if the specified node is a bookmark node or not.
7979

8080
==== Parameters
8181

82-
* [.param-name]#node# [.param-type]#(DOMNode)# - DOM Node to check if it's a bookmark node or not.
82+
* `+node+` `+(DOMNode)+` - DOM Node to check if it's a bookmark node or not.
8383

8484
==== Return value
8585

86-
* [.return-type]#Boolean# - true/false if the node is a bookmark node or not.
86+
* `+Boolean+` - true/false if the node is a bookmark node or not.
8787

8888
[[movetobookmark]]
8989
=== moveToBookmark
@@ -94,7 +94,7 @@ Restores the selection to the specified bookmark.
9494

9595
==== Examples
9696

97-
[source,prettyprint]
97+
[source,js]
9898
----
9999
// Stores a bookmark of the current selection
100100
var bm = tinymce.activeEditor.selection.getBookmark();
@@ -107,8 +107,8 @@ tinymce.activeEditor.selection.moveToBookmark(bm);
107107

108108
==== Parameters
109109

110-
* [.param-name]#bookmark# [.param-type]#(Object)# - Bookmark to restore selection from.
110+
* `+bookmark+` `+(Object)+` - Bookmark to restore selection from.
111111

112112
==== Return value
113113

114-
* [.return-type]#Boolean# - true/false if it was successful or not.
114+
* `+Boolean+` - true/false if it was successful or not.

0 commit comments

Comments
 (0)