Active
Project:
CKEditor 4 - WYSIWYG HTML editor
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
30 Aug 2017 at 14:32 UTC
Updated:
4 Mar 2018 at 20:16 UTC
Jump to comment: Most recent
Comments
Comment #2
andrewtur commentedComment #3
andrewtur commentedHi,
I've done some digging and found out something I thought was worth sharing.
I am using the media_ckeditor module for the ckeditor integration and I found this variable: "hasWidgetSupport" which defaults to false.
So if the widget addon is not enabled no widget(wrapping span) is render around the img which allows one to access the image properties as seen in the image without_mathjax.png. By enabling the widget addon (Mathjax requiers it) hasWidgetSupport is set to true and the widget will be render and you can not access the image properties any longer as seen in the screen with_mathjax.png. My temporary workaround was to comment out this line:
media_ckeditor/js/plugins/media/plugin.js Line 23
mediaPluginDefinition.hasWidgetSupport = typeof(CKEDITOR.plugins.registered.widget) != 'undefined';by removing this line the else case in line 208 is used so everything should still work so now i can use media( and resize images) in conjunction with mathjax
Hope this helps someone having similar issues.
Comment #4
joseph.olstadvery good yes, I added a note to this in the documentation media recipe
Comment #5
mqanneh+1
Comment #6
joseph.olstadYou must be referring to the ckeditor widget library plug-in, not module, I do not see this module.