Skip to content

Formula plugin for tinymce (Add equations using MathML or LaTeX)

License

Notifications You must be signed in to change notification settings

umar221b/tinymce6-formula

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tinyMCE formula plugin

Formula plugin for tinyMCE WYSIWYG editor. Allows user to add equations and formulas inside tinymce.

Browser compatibility

  • IE8+
  • Chrome
  • Firefox
  • Safari
  • Opera

Dependencies

Usage

Install using npm

npm install tinymce6-formula

Or copy the source of the plugin to the plugins directory of your tinyMCE installation.

Add the formula plugin to your tinyMCE configuration:

plugins: '... formula',
toolbar: '... formula'

If you have installed the plugin in a different folder than the tinymce/plugins folder then you need to specify the location where the plugin is installed:

external_plugins: {
  formula: "path/to/public/plugin/folder";
}

In this case you can remove formula from the plugins setting.

License

MIT licensed

Copyright (C) 2016 iCAP Lyon1, Panagiotis Tsavdaris Copyright (C) 2022 Umar Alkafaween

The original plugin is published (here). It is only compatible with tinyMCE4. This plugin is updated to work with versions 5 and 6 of tinyMCE.

About

Formula plugin for tinymce (Add equations using MathML or LaTeX)

Topics

Resources

License

Stars

Watchers

Forks

Languages

  • JavaScript 70.1%
  • CSS 29.4%
  • HTML 0.5%