Turn off enclosing

tags in CKEditor 3.0

前端 未结 11 989
天涯浪人
天涯浪人 2020-12-04 07:49

Is there a possibility to turn off the automatic enclosing of all written content within

in CKEditor 3.x?

I tried

  CKEDITOR.con         


        
11条回答
  •  醉梦人生
    2020-12-04 08:20

    I'm doing something I'm not proud of as workaround. In my Python servlet that actually saves to the database, I do:

    if description.startswith('

    ') and description.endswith('

    '): description = description[3:-4]

提交回复
热议问题