AddInput in domcomponent for html conditional it work work grapesjs 0.10.7 版本
你好,Artur, 首先,感谢你分享这样一个很棒的项目:) 我想告诉你我遇到的一个问题。 你在#208 issue中为addType的代码评论了一下。 “JavaScript var textnodeType = domc.getType('textnode'); domc.addType('comment', { model: textnodeType.model.extend({ toHTML() { 返回 '<!--${this.get('content')}-->'; }, },{ isComponent(el) { if (el.nodeType == 8) { 返回 { 标签名称:'NULL', // 只是需要这个来避...
artf
你好@alperenuzun我们不支持旧版本,请尝试更新到最新版本,看看一切是否正常。顺便说一句,添加新组件时一定要用[插件](https://github.com/artf/grapesjs/wiki/Creating-plugins)。
alperenuzun
“插件”对我来说是答案:) 在旧版本中,它无需使用插件就能正常工作。现在,它已经能用插件了。 非常感谢你的帮助。
alperenuzun
你好@artf 我还有个问题。条件注释运行良好,但设计上看起来不对劲。 这是我在使用条件注释的代码:  这是我使用条件注释的设计: ![约鲁姆鲁塔萨里姆](https://user-images.githubusercontent.com/29979417...