Skip to content

updated README to for more clarity#8

Open
aakashtushar wants to merge 1 commit intoforaker:masterfrom
aakashtushar:patch-4
Open

updated README to for more clarity#8
aakashtushar wants to merge 1 commit intoforaker:masterfrom
aakashtushar:patch-4

Conversation

@aakashtushar
Copy link

tinymce.PluginManager.load('equationeditor', '/path/to/plugin.min.js') does not need anymore

tinymce.PluginManager.load('equationeditor', '/path/to/plugin.min.js') does not need anymore
Refer to [example/example.html](example/example.html) for an example. Note that if you have the repository cloned locally and want to see it in action, you'll need to have it running in a server (i.e. `cd tinymce_equation_editor`; `python -m SimpleHTTPServer` and then going to http://localhost:8000/example/example.html)

Download [tinymce\_equation\_editor.zip](build/tinymce_equation_editor.zip).
Download [tinymce\_equation\_editor.zip](build/tinymce_equation_editor.zip) and rename to `equationeditor`.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's the point in renaming the zip file?

Copy link
Author

@aakashtushar aakashtushar Jan 11, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I didn't mean to rename the zip file but the folder. Don't you think, to load plugin in tinymce with 'equationeditor', folder name should be same?

Anywhere that you display text that could include equations, you will need to include the Mathquill JS and CSS.

```javascript
tinymce.PluginManager.load('equationeditor', '/path/to/plugin.min.js');
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does the equation editor JS need to be at a specific path for it to be automatically loaded now?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tinymce will detect plugin.js or plugin.min.js if equationeditor was pointed in tinymce.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants