Hi,
I'm starting to work on an Asciidoctor editor based on the great work of @asotobu : http://www.lordofthejars.com/2013/07/asciidoc-editor-with-markitup.html.
Unfortunately, I'm having trouble integrating the Markitup code into a Chrome App primarily because of the Content Security Policy : http://developer.chrome.com/extensions/contentSecurityPolicy.html. The Markitup code uses eval function and "Cross-Origin XMLHttpRequest".
The rendering part is really easy thanks to Asciidoctor.js so I was thinking, why not using http://ace.c9.io/ as editor and just add a preview frame ?
There is already a Chrome Extension that integrates Ace editor to create a text editor, so I guess this will be pretty easy : https://github.com/tylerlong/slim_text
What do you think ?
If you reply to this email, your message will be added to the discussion below:http://discuss.asciidoctor.org/Asciidoctor-js-Editor-Chrome-App-tp730.htmlTo start a new topic under Asciidoctor :: Discussion, email [hidden email]
To unsubscribe from Asciidoctor :: Discussion, click here.
NAML
Free forum by Nabble | Edit this page |