I have an issue when I'm trying to add new plugin to CKEditor module. It doesn't work and button doesn't appear.
I followed this steps:
1. downloaded mathedit plugin files: plugin.js and plugin icon "mathedit"
2. import them to the resouses of module with defining directory
3. define in config.js using the extraplugin:
4.published module and update dependensy in my App;
5.added button of meny at the configuration of the module inside my App:
6. but it doesn't work, button is absent at the toolbar:
Please, tell/advise me what is wrong and how can I fix this issue.
Thank you in advance.
Hi,
In order to add the mathedit plugin to your CK editor, please follow the steps below.
1. download the mathedit plugin from github, which also included the mathquill js file and the plugin js, icon.
2. Import plugin.js and icon to the module's resources.
3. In the script folder, import the MathQuill script.
4. Add mathquill.js to the required script of CKEditor.js.
5. Modify Ckeditor's extra plugin setup as shown below: (CKEditor.js line no 44)
6. publish the module and check the demo page now. you will be able to see the mathedit icon.
Thanks.
dear @Mayank Dharmpurikar, thank You a lot for your help! My issue was solved by your solution.