Piotrek Koszuliński
|
72011fb553
Tests: Added tc for #5910.
|
5 anos atrás |
Maciej Gołaszewski
|
a5d39c550e
Fix dangling comma.
|
5 anos atrás |
Aleksander Nowodzinski
|
68e393c809
Tests: Added a test to check what happens if upcasted code block has a class which is not defining (e.g. second in the config).
|
5 anos atrás |
Aleksander Nowodzinski
|
a2774c6db4
Merge branch 'master' into i/5924
|
5 anos atrás |
panr
|
fc966a9964
Update doc and rewrite getPropertyAssociation helper
|
5 anos atrás |
Kamil Piechaczek
|
bbf6065b7d
Internal: Bumped the year. [skip ci]
|
6 anos atrás |
panr
|
ca31836e0b
Add tests to check if multiple classes work in languages config
|
6 anos atrás |
fredck
|
cc95565187
Disabled spellcheck inside code blocks.
|
6 anos atrás |
Aleksander Nowodzinski
|
82482d7a43
Changed the configuration format (CodeBlockLanguageDefinition). CSS classes are now generated from #language or customized using #class.
|
6 anos atrás |
Aleksander Nowodzinski
|
82d8291fda
Created separated IndentCodeBlockCommand and OutdentCodeBlockCommand classes.
|
6 anos atrás |
Aleksander Nowodzinski
|
fa4cc794be
Changed the language classes in the default config for the out-of-the-box compatibility with 3rd-party highlighters.
|
6 anos atrás |
Maciej Gołaszewski
|
c45537a91c
Typo fix.
|
6 anos atrás |
Maciej Gołaszewski
|
cecb08f4d3
Remove superfluous schema child check for codeBlock in code block.
|
6 anos atrás |
Aleksander Nowodzinski
|
163d2764fd
Make sure the "code" attribute is allowed when marking the output of getSelectedContent().
|
6 anos atrás |
Aleksander Nowodzinski
|
28c6b097c8
Allowed leaving the code block by pressing enter in an empty line at the beginning of the block.
|
6 anos atrás |
Aleksander Nowodzinski
|
28104ad080
Enabled code block indent and outdent commands in the editing. Defined config.codeBlock.indentSequence.
|
6 anos atrás |
Aleksander Nowodzinski
|
1604c808dd
Tests: Code refactoring.
|
6 anos atrás |
Aleksander Nowodzinski
|
d51aa72eda
Do not customize getSelectedContent() when the selection is empty.
|
6 anos atrás |
Aleksander Nowodzinski
|
8f41068df3
Ensured the code block is properlu copied to the clipboard (getSelectedContent() integration).
|
6 anos atrás |
Aleksander Nowodzinski
|
4ff12c6974
Indentation retention when pressing enter.
|
6 anos atrás |
Aleksander Nowodzinski
|
d79649d4fc
Double shift enter should not leave the code block when executed at the end of it.
|
6 anos atrás |
Aleksander Nowodzinski
|
7659071684
Double enter at the end of the code block should exit it.
|
6 anos atrás |
Aleksander Nowodzinski
|
1efdcf2ad3
Tests: "Fixed" CodeBlockEditing some failing assertions by adding a comment explaining that the issue is not in the package.
|
6 anos atrás |
Aleksander Nowodzinski
|
0e4172727b
Tests: Added a test to check what happens if an unsplittable parent does not allow codeBlock during upcasting.
|
6 anos atrás |
Aleksander Nowodzinski
|
a0ee7e6967
Make sure the code block splits parents when upcasting if not allowed. Checked upcasting multiple code blocks in a row (WIP).
|
6 anos atrás |
Aleksander Nowodzinski
|
2b81615f97
Implemented the "codeBlock" dropdown with a split button and a list of available languages.
|
6 anos atrás |
Aleksander Nowodzinski
|
65890e7f7b
Make sure the "Plain text" label from the config is correctly translated.
|
6 anos atrás |
Aleksander Nowodzinski
|
da62d7e3ab
Default feature config and the "language" attribute in the model followed by the "class" attribute in the view.
|
6 anos atrás |
Aleksander Nowodzinski
|
bc4c3b63dc
The feature should handle clipboard input and make sure the existing code block is not split.
|
6 anos atrás |
Oskar Wróbel
|
b9952ad1c5
Increased CC to 100%.
|
6 anos atrás |