Skip to content

Gettyk/TinyMCE-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

TinyMCE plugin

This TinyMCE plugin can be used in Zotero to add these features:

● keyboard shorcuts for applying font color and background-color
● keyboard shorcuts for changing text size (10px, 14px, 18px)
● add CSS tooltips

How to add the plugin in Zotero

  1. go to C:\Program Files (x86)\Zotero and copy the zotero.jar to make a backup
  2. move zotero.jar to you desktop and double click it to open it in 7zip (or a similar program) - do not extract it / zip i, zotero won't like it
  3. go to zotero.jar\resource\tinymce, right clik note.hmtl and select edit and do this (look at note.html above to get an idea or copy it ) 3.1) add custom_plug to the plugins 3.2) add fontsizeselect to toolbar1 or toolbar2 3.3) add somewhere beneath the toolbar: fontsize_formats: "8px 10px 12px 14px 16px 18px, 3.4) close your text editor and save the change in 7zip.
  4. open zotero.jar\resource\tinymce\plugins\ and drag in it the folder custom_plug
  5. move zotero.jar back to C:\Program Files (x86)\Zotero
  6. you are done!

Current keyboard shorcut (they can be modify in custom_plug plugin.min.js)

ctrl+t : indent
ctrl+shift+space : outdent
ctrl+ NumPad+ : superscript
ctrl+space : RemoveFormat
ctrl+shift+s : mceCodeEditor
alt+s : Strikethrough
alt+q : customfontsize_command
alt+r : customfontcolor_red
alt+w : customfontcolor_marron
alt+y : custombackcolor_yellowpale
alt+shift+y : custombackcolor_yellowfonce
alt+o : custombackcolor_orange
alt+p : custombackcolor_pink
ctrl+alt+t : tooltip_create

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published