-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
"Headless TinyMCE" #560
"Headless TinyMCE" #560
Comments
Thanks Andrew. @iseulde can you help clarify what this could entail? Thanks. |
A "headless" version of TinyMCE would be the current version but without any UI, plugin loader, and stuff like that. Just a package that fixes bad browser manipulation in |
This was added in TinyMCE 4.7. Setting the theme to false will cause TinyMCE to be headless. |
@androb Would you be able to point us to an example of this API? I'm trying to run headless using Jest/jsdom and there are tons of errors being thrown by the core tinymce library because of all of the DOM APIs that it needs. I tried stubbing Does this need to run in an actual headless browser? Will jsdom not cut it? CC: @spocke Thanks in advance. |
What we mean by headless is that it has no ui similar to headless browsers like phantomjs. JSDom is a js implementation of the dom that is very limited so only parts of a complex editor like tiny would be able to support that and we don’t have that on our roadmap. Tiny and all it’s tests works in a headless browser you can run our tests command line using grunt for example. So if you could run your tests though phantomjs it should work fine. |
I see. Thanks for the clarification. |
This has been asked for, need to understand the requirement more.
The text was updated successfully, but these errors were encountered: