dtxb75622 2019-07-18 08:03
浏览 279

Ckeditor默认文本(占位符)在DivArea中不起作用

Im using CKeditor as my text editor and it seems that the default text (placeholder) which is added by the confighelper plugin is not working with divArea plugin.

When i remove the divArea plugin then the default text is working. Additional info is that I am using vuejs to integrate it

I already integrated the default text (placeholder) and its working however i need to use the divArea because i need to use the Placeholder plugin and i have some configuration with it

This is my config

config: {
    toolbar: [
              [ 'Bold', 'Italic', 'Underline', 'NumberedList', 'BulletedList', 'Undo','Redo','liststyle','tabletools','Scayt','contextmenu','menubutton','CreatePlaceholder'],
            ],
            height: 300,
            extraPlugins: ['confighelper','basicstyles','placeholder','widget','dialog','divarea','undo'],
            allowedContent: true,
            resize_enabled: false,
            scayt_autoStartup: true,
            forcePasteAsPlainText:true,
              placeholder: 'Write your duties, tasks, and achievements on this jobasd here. You may also use our suggestions by clicking the "+" button.'
     }
  • 写回答

0条回答 默认 最新

    报告相同问题?

    悬赏问题

    • ¥50 随机森林与房贷信用风险模型
    • ¥50 buildozer打包kivy app失败
    • ¥30 在vs2022里运行python代码
    • ¥15 不同尺寸货物如何寻找合适的包装箱型谱
    • ¥15 求解 yolo算法问题
    • ¥15 虚拟机打包apk出现错误
    • ¥15 用visual studi code完成html页面
    • ¥15 聚类分析或者python进行数据分析
    • ¥15 三菱伺服电机按启动按钮有使能但不动作
    • ¥15 js,页面2返回页面1时定位进入的设备