Ckeditor update textarea

后端 未结 10 1643
抹茶落季
抹茶落季 2020-12-01 03:10

I am trying to get the ckeditor working. Obviously it doesn\'t make use of the textarea so on submit the form doesn\'t submit the text in the editor. Beceause I make use of

10条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-12-01 03:23

    Just Add

    CKEDITOR.instances.textAreaClientId.on('blur', function(){CKEDITOR.instances. textAreaClientId.updateElement();});
    

    where textAreaClientId is your instance name

    Regards

提交回复
热议问题