? ?
avatar okonomiyaki3000
okonomiyaki3000
5 Feb 2015

Editor plugins are required to create a globally accessible Javascript function jInsertEditorText which is used to insert some text into the editor. The function is passed the string to be inserted and an editor instance so that, if you have two or more editors on the same page, it will still work. The problem is that it will not work if you have two or more different types of editors on the same page. OK, this doesn't actually happen but, in theory, it's possible. You could have an instance of CodeMirror and an instance of TinyMCE on the same page. They both try to write their own version of jInsertEditorText but only one of them will actually work because the implementation of the function is different for each editor.

I can envision some possible fixes but they will surely break BC. Maybe something to consider before 4.0.

avatar okonomiyaki3000 okonomiyaki3000 - open - 5 Feb 2015
avatar jissues-bot jissues-bot - change - 5 Feb 2015
Labels Added: ?
avatar brianteeman brianteeman - change - 5 Feb 2015
Milestone Added:
avatar brianteeman brianteeman - change - 5 Feb 2015
Title
Editor plugins - jInsertEditorText
Editor plugins - jInsertEditorText
avatar zero-24 zero-24 - change - 5 Feb 2015
Category JavaScript Plugins
avatar Bakual Bakual - change - 5 Feb 2015
Labels Added: ?
avatar zero-24
zero-24 - comment - 16 Jul 2015

Closing as this issue have the Re-evaluate for v4.0 label :smile:

avatar zero-24 zero-24 - change - 16 Jul 2015
Status New Closed
Closed_Date 0000-00-00 00:00:00 2015-07-16 11:36:54
Closed_By zero-24
avatar zero-24 zero-24 - close - 16 Jul 2015
avatar zero-24 zero-24 - close - 16 Jul 2015
avatar zero-24 zero-24 - change - 24 Aug 2015
Milestone Added:
avatar zero-24 zero-24 - change - 24 Aug 2015
Milestone Added:

Add a Comment

Login with GitHub to post a comment