Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Track Changes for Tinymce 5 #137

Open
vigneshwaranikt opened this issue Nov 6, 2019 · 8 comments
Open

Track Changes for Tinymce 5 #137

vigneshwaranikt opened this issue Nov 6, 2019 · 8 comments

Comments

@vigneshwaranikt
Copy link

Can i use Ice plugin for tinymce 5?

@DNWEIJ
Copy link

DNWEIJ commented Jan 31, 2020

You can use the branch Update to tiny mce5. Note: You need to replace the svg images in the plugin to something that looks better...

@Quixomatic
Copy link

@DNWEIJ I don't see that branch, is it still available?

@DNWEIJ
Copy link

DNWEIJ commented Feb 6, 2020

sry, the pull request: #141

@manisha05be
Copy link

Where can i get tracker with menubar. Ice tracker and menubar/toolbar of tiymce5.

@chross
Copy link

chross commented Jan 21, 2022

Do I need to load other files along with tinymce?
I'm currently placing the ice and icesearchreplace folders from the branch:
/ice-6e68842e6e8a543a49162ca53b688055f70eb866/lib/tinymce/js/tinymce/plugins
in my tinymce plugins folder.
When trying to load tinymce with ice as a plugin, nothing happens. I have already renamed plugins/ice/plugin.js to plugins/ice/plugin.min.js.

I have also replaced the editor.off with ed.off occurences in plugin.js as that seems to be erroneous.

The error I'm getting is:
Uncaught ReferenceError: ice is not defined
and
Uncaught TypeError: changeEditor is null

Am I using the wrong file or am I missing some libs?

I'm using TinyMCE 5.2.0 (2020-02-13).

@chross
Copy link

chross commented Jan 24, 2022

Ok, I've managed to get it half working:

I have concatenated the following files into a ice-master.js:

rangy-core.js
ice.js
dom.js
icePlugin.js
icePluginManager.js
bookmark.js
selection.js
IceAddTitlePlugin.js
IceCopyPastePlugin.js
IceEmdashPlugin.js
IceSmartQuotesPlugin.js

which I am loading before loading tinymce.

Also, I did rename the plugin.js to plugin.min.js inside the /plugins/ice folder and edited all occurences of editor.off. I changed them to ed.off.

The tracking works now, but I cannot delete text using del or backspace. Selecting text and typing will correctly delete the text and insert the newly typed text but simply deleting does not work.

Any sugggestions?

@lalit-sf
Copy link

lalit-sf commented Feb 7, 2022

did u get fix on your last issue(deleting does not work.)!

@chross
Copy link

chross commented Feb 8, 2022

Unfortunately not, still looking into it.

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

No branches or pull requests

6 participants