-
Notifications
You must be signed in to change notification settings - Fork 54
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
Render html content? #54
Comments
Hi, |
@alonrbar I am working on a plugin to render prosemirror content, but I have some issues: #58 Since I already have a working HTML converter for my prosemirror stuff it would also be possible to focus on a simple HTML version (most common tags and styles) and send my content via HTML, I guess this approach would be useful for more people, but I first need to figure out those issues. |
@thegnuu I'd like to know if you could embed the HTML in the word file |
I could yes, technically it is quite easy to render HTML content. Unfortunately it is not so easy to that in a generic way. The main problem here is the way Word is handling its styles. There are basically two possible ways to go:
Version 1 is kinda hard to achieve since every element needs to be mapped to a proper style - unfortunately those styles depends on each file which means you have to add custom styles and you need to make sure those are embedded and language agnostic. So the only way to use this method is to use the same word template for all of your docs. And you need to specify which elements should be mapped to which style. Version 2 works good for simple elements like Long story short: It possible to render HTML content but for now I have not found a way to simply achieve this goal in a generic way that would allow me to write a plugin that everyone can use. |
You might want to check the new plugin by @cvaize. The plugin currently implements |
No description provided.
The text was updated successfully, but these errors were encountered: