[CKEditor] Can no longer use CKEDITOR.ENTER_BR in config

[CKEditor] Can no longer use CKEDITOR.ENTER_BR in config

  
Forge Component
(11)
Published on 12 Oct by OutSystems Labs
11 votes
Published on 12 Oct by OutSystems Labs
We upgraded our version of the CKEditor component from v3 to 4 and now some elements of the config I was using breaks the editor (i.e. it does not appear)

Config:
"height:'370px',
removePlugins:'save,templates,forms,about,bidi,print,flash,pagebreak,smiley,specialchar',
toolbar:[
['Font','FontSize'],
['Bold','Italic','Underline'],
['NumberedList','BulletedList','-','Outdent','Indent'],
['Scayt'],
['TextColor','BGColor'],
['Image'],
['Source'] ],
scayt_autoStartup: 'true',
skin : 'office2003',
enterMode : CKEDITOR.ENTER_BR,
shiftEnterMode: CKEDITOR.ENTER_P,
contentsCss: 'contents.css'"

I see that enterMode and shiftEnterMode are definately a problem. Does that have to do with the CKEDITOR. reference?

Does anyone know how to fix this?
TIA!!
Hi,

I have the same problem. Have you found workaround?

Thanks,
Donatas
Yes, use their equivalent constants. ... enterMode: 2, shiftEnterMode: 1, ...
Indeed, that works, thank you, Gerry. Much appreciated.