Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#13643 closed New Feature (invalid)

Mathjax plugin predefined formulae buttons

Reported by: Daniel Merino Owned by:
Priority: Normal Milestone:
Component: General Version:
Keywords: Cc:

Description

I am trying to add several buttons to mathjax plugin dialog, so users that don't know mathjax can add several predefined formulae clicking on the buttons and only have to fill the gaps.

I have managed to add the buttons in mathjax.js file (1), but I've got stuck with scope issues. I can access the preview element, but not the equation textarea, that seems to not be available from any scope.

If I am able to get the desired behaviour (a button that adds text to the textarea so the generated image is refreshed with the new value), I plan to create a set of icon buttons and I will do a PR in GitHub to add them.

I have reported this issue also in StackOverflow (2).

Thanks in advance. Best regards.

(1) https://github.com/ckeditor/ckeditor-dev/blob/master/plugins/mathjax/dialogs/mathjax.js (2) http://stackoverflow.com/questions/31919330/predefined-buttons-in-ckeditor-mathjax-plugin

Change History (2)

comment:1 Changed 4 years ago by Piotrek Koszuliński

Resolution: invalid
Status: newclosed
Version: 4.5.2

I'm sorry, but this is a bug tracker. I need to close this ticket.

comment:2 Changed 4 years ago by Daniel Merino

I think that this is a fair feature request for a highly desired feature (at least in the university I work in) for CKEditor's Mathjax plugin.

I'm just trying to solve it by myself, but if anybody else wants to solve it I would love to help.

Are feature requests accepted in the bug tracker? If you wish I can edit this one or create another.

Thanks in advance. Best regards.

Note: See TracTickets for help on using tickets.
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy