Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

enterMode in CKEditor doesn't work #1026

Open
alexanderpavlovru opened this issue May 22, 2015 · 2 comments
Open

enterMode in CKEditor doesn't work #1026

alexanderpavlovru opened this issue May 22, 2015 · 2 comments

Comments

@alexanderpavlovru
Copy link

How to configure ckeditor to not wrap content in tag p?

I tried add to config.js this string

 config.enterMode = CKEDITOR.ENTER_BR;

And tried

'editorOptions' => array(
    'enterMode' => 'CKEDITOR.ENTER_BR',
 )

It doesn't work.

@ytaborda17
Copy link

I have the same problem.

@ytaborda17
Copy link

Solved, just replace
this:
'enterMode' => 'CKEDITOR.ENTER_BR',

for this:
'enterMode' => 3,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants