Aleksander Nowodzinski
|
1e0440ceb2
Fix: Paragraph command should check whether it can be applied to the selection. Closes #24.
|
8 gadi atpakaļ |
Piotrek Koszuliński
|
2f288be151
Aligned command API usage to the changes done in ckeditor5-core#89.
|
8 gadi atpakaļ |
Kamil Piechaczek
|
9f4fb40506
Code style: Switched to ESLint.
|
8 gadi atpakaļ |
Szymon Kupś
|
09fa65c4e9
Removed schema object checking in ParagraphCommand's _checkEnabled method.
|
8 gadi atpakaļ |
Szymon Kupś
|
9e1a2faf83
Renamed paragraph's command method _updateValue to refreshValue and changed its visibility.
|
8 gadi atpakaļ |
Szymon Kupś
|
429ca33571
Minor fixes in paragraph command.
|
8 gadi atpakaļ |
Szymon Kupś
|
116c16319f
Fixed _updateValue and added _checkEnabled method to paragraph command.
|
8 gadi atpakaļ |
Aleksander Nowodzinski
|
673567862c
Don't rename blocks which are paragraphs. Don't block execution if #value is true because there might be more blocks to rename after the first one.
|
8 gadi atpakaļ |
Aleksander Nowodzinski
|
4276422399
Tests: New test to verify ParagraphCommand#value in non–collapsed selection. Code refactoring.
|
8 gadi atpakaļ |
Aleksander Nowodzinski
|
569d5c5ae6
Removed ParagraphCommand#title. ParagraphCommand#_doExecute accepts selection instead of element.
|
8 gadi atpakaļ |
Aleksander Nowodzinski
|
5b3fcdcff5
Extracted paragraph command functionality from HeadingCommand into ParagraphCommand.
|
8 gadi atpakaļ |