-
Notifications
You must be signed in to change notification settings - Fork 16
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
Run HTML conversion in web worker thread #4
Comments
Great idea! |
Got it working with a quick hack as follows. In main.js:
All code doing the conversion is in self-contained, separate file 'converter.js'. No access to console, DOM, document, or window objects.
Smooth editing! converter.js could be made usable for other projects requiring background conversion. Either a separate build step is needed to create this single file from its parts, or the build process for Asciidoctor.js could create and distribute such a combined file with a proper interface. |
Implemented for version 1.0.4 |
Investigate if HTML conversion can be performed in web worker thread to avoid blocking of editor UI events during conversion.
The text was updated successfully, but these errors were encountered: