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
如下代码示例, 当content中的富文本字符串中有img标签时, img的宽度默认是350 , 而不会使用 defaultSize 的值 new AiEditor({ element: "#aiEditor", placeholder: "点击输入内容1...", contentRetention: true, content: 'AiEditor 是一个面向 AI 的下一代富文本编辑器。<img src="https://avatars.githubusercontent.com/u/26398475?s=16&v=4" alt="" />', image: { defaultSize: 600 }, })
new AiEditor({ element: "#aiEditor", placeholder: "点击输入内容1...", contentRetention: true, content: 'AiEditor 是一个面向 AI 的下一代富文本编辑器。<img src="https://avatars.githubusercontent.com/u/26398475?s=16&v=4" alt="" />', image: { defaultSize: 600 }, })
查看源码发现字啊 imgExt.ts 文件 addNodeView 方法中imgWidth使用的是一个固定值
The text was updated successfully, but these errors were encountered:
来个 pr 呗
Sorry, something went wrong.
No branches or pull requests
如下代码示例, 当content中的富文本字符串中有img标签时, img的宽度默认是350 , 而不会使用 defaultSize 的值
new AiEditor({ element: "#aiEditor", placeholder: "点击输入内容1...", contentRetention: true, content: 'AiEditor 是一个面向 AI 的下一代富文本编辑器。<img src="https://avatars.githubusercontent.com/u/26398475?s=16&v=4" alt="" />', image: { defaultSize: 600 }, })
查看源码发现字啊 imgExt.ts 文件 addNodeView 方法中imgWidth使用的是一个固定值
The text was updated successfully, but these errors were encountered: