-
Notifications
You must be signed in to change notification settings - Fork 534
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
Insert Custom HTML Plugin #858
Comments
That would be great -- you're invited to write it ;-) If you need any help let us know! |
I did actually begin to write this, but my work was halted due to some licensing conflicts I've been having with my app and Aloha. I'm still interested and contributing however so I'll see if I can find some time over the weekend. I like how the Mercury Editor in particular handles this. They have an HTML editor module that once clicked renders out the editable content as raw HTML inside a textarea. Does Aloha have any methods for returning the HTML that can be used? |
What licensing conflicts do you have? Maybe we can help out -- you can send a message to rene.kapusta//ät//aloha-editor.org Yes, you can use .getContents() to get the HTML of an editable (the textarea you would need to add yourself) Activate the dom-to-xhtml plugin to retrieve XHTML content: Looking forward to your plugin :-) |
We have one that we're looking to submit in about a week, it's a simple modal popup that checks against your contentHandler section of your config for the whitelist before inserting... simple, but works! |
It would be great to have a plugin that allows you to add custom HTML source code, perhaps using the "InsertHTML" command. See https://getsatisfaction.com/aloha_editor/topics/insert_element_button
The text was updated successfully, but these errors were encountered: