We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
It should be possible to do:
editor = new Editor({html: 'some html...', parserPlugins: [parseNodeFn, ...]});
and have the html be parsed using the passed plugins the way that it works now when pasting in HTML.
Here's an example gist showing parsing images from HTML, e.g.
The text was updated successfully, but these errors were encountered:
cc @jordpo
Sorry, something went wrong.
Pass parser plugins to HTMLParser from editor#loadPost
6b3da6e
fixes #296
bantic
Successfully merging a pull request may close this issue.
It should be possible to do:
and have the html be parsed using the passed plugins the way that it works now when pasting in HTML.
Here's an example gist showing parsing images from HTML, e.g.
The text was updated successfully, but these errors were encountered: