Skip to content

Commit 1e4bbef

Browse files
committed
fix api docs anchors
1 parent 6f0e00c commit 1e4bbef

File tree

103 files changed

+5877
-8214
lines changed

Some content is hidden

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

103 files changed

+5877
-8214
lines changed

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

Lines changed: 17 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,17 @@
22

33
This class handles selection bookmarks.
44

5-
[#constructors .anchor]##
6-
7-
== link:#constructors[Constructors]
5+
[[constructors]]
6+
== Constructors
87

98
[cols=",,",options="header",]
109
|===
1110
|name |summary |defined by
1211
|link:#bookmarkmanager[BookmarkManager()] |Constructs a new BookmarkManager instance for a specific selection instance. |link:/docs-4x/api/tinymce.dom/tinymce.dom.bookmarkmanager[tinymce.dom.BookmarkManager]
1312
|===
1413

15-
[#methods .anchor]##
16-
17-
== link:#methods[Methods]
14+
[[methods]]
15+
== Methods
1816

1917
[cols=",,",options="header",]
2018
|===
@@ -26,28 +24,28 @@ This class handles selection bookmarks.
2624

2725
== Constructors
2826

29-
[#bookmarkmanager .anchor]##
30-
31-
=== link:#bookmarkmanager[BookmarkManager]
27+
[[bookmarkmanager]]
28+
=== BookmarkManager
3229

3330
public constructor function BookmarkManager(selection:tinymce.dom.Selection)
3431

3532
Constructs a new BookmarkManager instance for a specific selection instance.
3633

34+
[[parameters]]
3735
==== Parameters
3836

3937
* [.param-name]#selection# link:/docs-4x/api/tinymce.dom/tinymce.dom.selection[[.param-type]#(tinymce.dom.Selection)#] - Selection instance to handle bookmarks for.
4038

4139
== Methods
4240

43-
[#getbookmark .anchor]##
44-
45-
=== link:#getbookmark[getBookmark]
41+
[[getbookmark]]
42+
=== getBookmark
4643

4744
getBookmark(type:Number, normalized:Boolean):Object
4845

4946
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.
5047

48+
[[examples]]
5149
==== Examples
5250

5351
[source,prettyprint]
@@ -66,13 +64,14 @@ tinymce.activeEditor.selection.moveToBookmark(bm);
6664
* [.param-name]#type# [.param-type]#(Number)# - Optional state if the bookmark should be simple or not. Default is complex.
6765
* [.param-name]#normalized# [.param-type]#(Boolean)# - Optional state that enables you to get a position that it would be after normalization.
6866

69-
==== Return value
67+
[[return-value]]
68+
==== Return value
69+
anchor:returnvalue[historical anchor]
7070

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

73-
[#isbookmarknode .anchor]##
74-
75-
=== link:#isbookmarknode[isBookmarkNode]
73+
[[isbookmarknode]]
74+
=== isBookmarkNode
7675

7776
isBookmarkNode(node:DOMNode):Boolean
7877

@@ -86,9 +85,8 @@ Returns true/false if the specified node is a bookmark node or not.
8685

8786
* [.return-type]#Boolean# - true/false if the node is a bookmark node or not.
8887

89-
[#movetobookmark .anchor]##
90-
91-
=== link:#movetobookmark[moveToBookmark]
88+
[[movetobookmark]]
89+
=== moveToBookmark
9290

9391
moveToBookmark(bookmark:Object):Boolean
9492

0 commit comments

Comments
 (0)