-
Notifications
You must be signed in to change notification settings - Fork 24
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
功能:加入html源码编辑功能 #291
Labels
enhancement
New feature or request
Comments
@openlearnc 这个不能通过自定义插件实现吗,自定义一个 插件 getHtml 获取内容到弹窗编辑后再 setHtml 注入 |
能。自己通过自定义插件实现也是可以的。 |
可以自定义插件,尽量自定义插件,不额外增加包体积。如果使用的人多的话可以在 package 里加个包,灵活选择是否使用。 |
但底层需要支持,我用tinymce加入一个style属性,编辑器内的文本会出现相应的效果,但wangeditor没出现,底层是否支持还需要测试。 |
这个 style 必须是 wangEditor 支持的,不支持的 属性会过滤掉。具体 style 支不支持用 setHtml 试一下就知道了。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Originally posted by @openlearnc in #287 (comment)
The text was updated successfully, but these errors were encountered: