安装flask-ckeditor后希望使用docprops,docprops文档要求针对textarea的id进行设置:
CKEDITOR.replace('editor1', {
fullPage: true,
extraPlugins: 'docprops',
// Disable content filtering because if you use full page mode, you probably
// want to freely enter any HTML content in source mode without any limitations.
allowedContent: true,
height: 320
});
如何用ckeditor.create()生成textarea的id?