Needs work
Project:
Wysiwyg
Version:
7.x-2.x-dev
Component:
Editor - markItUp
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
12 Feb 2011 at 20:33 UTC
Updated:
2 Jun 2011 at 12:51 UTC
Jump to comment: Most recent file
Comments
Comment #1
marvil07 commentedTo make a complete report:
I am using wysiwyg 7.x-2.0
I was able to enable the Add media button on:
I was not able to enable the Add media button on:
Is there something to do for each editor in order for this to work?
Comment #2
kunago commentedI myself am interested in being able to use the browser with other editors but am pretty weak with JavaScript. I looked at the files that should be adding the functionality and it appears to be all in "media/javascript/wysiwyg-media.js".
Comment #3
james.elliott commentedThe other WYSIWYGs do not work because there has been no integration between their APIs and the media module.
Comment #4
marvil07 commented@james.elliott: I see, then I would be glad to provide integration for markitUp if you can point me to where the integration is done on ckeditor or tinymce
Comment #5
marvil07 commentedI was trying to find where to start, but it seems like markitup editor wysiwyg implementation needs to be chnaged :-/
So, I am moving this to its issue queue for feedback and attaching the patch against wysiwyg module.
Does this patch make sense as a initial part?
Any suggestions will be appreciated.
Comment #6
twodYes, you're on the right track.
The hardest part is the JavaScript side of the implementation which needs to pass content around to these cross-editor plugins before (
attach()</code) and after (<code>detach()) the editor handles it so they can do things like replacing placeholders etc.To get that right, one must know the editor's API pretty well, and/or how to work around it to figure out if there are any events or callbacks one can use to run the the integration code. It also helps to know quite a bit about cross-browser problems. I hope you've got your reference books/siites close at hand, you're in for quite a ride. ;)
Comment #7
jpstrikesback commentedsub