Skip to content
This repository has been archived by the owner on Jul 27, 2023. It is now read-only.

<p> to <br> #41

Open
lukasznn opened this issue Jun 11, 2015 · 5 comments
Open

<p> to <br> #41

lukasznn opened this issue Jun 11, 2015 · 5 comments
Labels

Comments

@lukasznn
Copy link

lukasznn commented Jun 11, 2015

No description provided.

@tonydspaniard
Copy link
Member

have you set that on the clientOptions?

@temirfe
Copy link

temirfe commented Dec 11, 2015

i set that in clientOptions like this:

$form->field($model, 'text')->widget(CKEditor::className(), [
        'options' => ['rows' => 6],
        'preset' => 'standard',
        'clientOptions'=>[
            'enterMode' => 2,
            'forceEnterMode'=>false,
            'shiftEnterMode'=>1
        ]
    ])

@ak868308
Copy link

ak868308 commented Nov 27, 2016

'clientOptions'=>[ 'enterMode' => 2, 'forceEnterMode'=>false, 'shiftEnterMode'=>1 ]

this options adding two <br> tags instead of one ?
How to fix it

@tonydspaniard
Copy link
Member

@ak868308 that is due to the ckeditor plugin itself. See more here: http://docs.ckeditor.com/#!/guide/dev_enterkey

@ak868308
Copy link

ak868308 commented Dec 7, 2016

Thanks @tonydspaniard

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

No branches or pull requests

4 participants