是否可以使用CKEditor 5中的“导出为Word”,“导出为PDF”插件从生成的docx中删除默认页脚消息?

问题描述

我在Web项目中使用CKEditor 5,并且我想删除以下消息:“此DOCX文档是使用CKEditor创建的,只能用于评估目的。”使用导出到Word,导出到PDF在生成的docx / pdf中的每个页面的页脚中显示

我尝试更改exportWord和exportPdf的converterOptions,但无济于事。

const templateCSS = '.styled { font-weight: bold; text-align: center; }'
footer: [
    // Footer template for all footers (without the `type` property).
    { html: '<div class="styled">Default footer content</div>',css: templateCSS },],

在转换后的选项中覆盖页脚只会添加另一行文本。

是否可以删除此消息?

Footer message

解决方法

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

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

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