Skip to content

Commit e007649

Browse files
author
jaemin.yoon
committed
modified README.md
1 parent 35deddc commit e007649

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

README.md

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,20 @@
11
# footNotes
22
tinymce Editor 4.x / 5.x FootNotes Plugin.
3-
> **JQuery is required**
3+
> **JQuery is required (tinymce 4.x)**
44
5-
#### tinymce version 4.x and 5.x support
65

6+
# Principle
77

8+
The text entered in the insert contents window is stored in the 'data-content' attribute
89

9-
### Usage
10+
````
11+
//html of button inserted in editor
12+
<span id="#wk_ft1" class="fnoteWrap" contenteditable="false" data-mce-selected="1">
13+
<button class="fnoteBtn" type="button" data-content="the text entered">1</button>
14+
</span>
15+
````
16+
17+
#Usage
1018
tinymce.init({
1119
selector: 'textarea',
1220
plugins: [

0 commit comments

Comments
 (0)