TinyMCE4 Doc Nav (Plugins)
TinyMCE4 has no document navigation plugin at default. This plugin is a document navigation plugin called “TinyMCE4 Doc Nav”, you can use it in your tinymce editor to get the document’s overview and locate the document quickly.
Features:
- Real time navigation: When you edit the doc, the plugin will generate the navigation immediately.
- Quickly locate: When you click the navigation, it will scroll to the position precisely and smoothly.
- Quick Install: Just upload to the tinymce plugins’ folder and update tinymce configurations. That is it.
- Source Code: Nothing is hidden.
Installation
- This plugin need jquery, please import jquery 1.8.3(or later) library first.
- Upload the files to the tinymce plugins’ folder.
- Update your tinymce configuration to add `leaui_nav` plugin, eg:
tinymce.init({
selector: "textarea",
plugins: [
"leaui_nav",
"advlist autolink link lists charmap hr anchor pagebreak",
"directionality textcolor paste fullpage textcolor"
],
toolbar1: "leaui_nav | styleselect formatselect fontselect fontsizeselect | bold italic underline strikethrough "
}); - import leaui_nav’s css to your file, eg:
<link href="tinymce/js/tinymce/plugins/leaui_nav/css/leaui_nav.css" rel="stylesheet">
More Info…TinyMCE4 Doc Nav (Plugins) ..
0 comments:
Post a Comment