CKEditor 5提及插件-将子元素附加到属性元素

问题描述

https://ckeditor.com/docs/ckeditor5/latest/features/mentions.html

我想在中的元素中插入

tz,因为出现错误writer.insert(writer.createPositionAt(myAttributeElement,0),myImage)。我知道如果向下转换是带有'createContainerElement'而不是'createAttributeElement'的elementToElement的话,它将起作用,但是Mention插件希望按原样编写向下转换。我可以以某种方式实际上在AttributeElement内附加任何其他元素吗?

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)