config.fillEmptyBlocks does not accept callback
This needs to be investigated. In 3.5 (#5404), when option was introduced it has been accepting callback. Then, at some point this change was made:
blockFilter( isOutput, editor.config.fillEmptyBlocks !== false );
And it's obviously wrong now. However, at some point also docs have been modified and the type of this setting is now Boolean (no Function). So perhaps it was an intentional change. In such case we should fix docs, not code.
Change History (3)
Owner: |
set to Piotrek Koszuliński
|
Status: |
confirmed →
assigned
|
Milestone: |
CKEditor 4.4.3
|
Resolution: |
→ duplicate
|
Status: |
assigned →
closed
|
Issue was introduced in git:ea074195, when porting v3 changes to v4. Therefore I assume that fillEmptyBlocks should still accept functions. It also turned out that this ticket is a DUP of #10422.