Maciej Gołaszewski
|
3fcbc0a6b6
Simplify canBeCodeBlock() schema check return value.
|
6 years ago |
Maciej Gołaszewski
|
c8374acac1
Update description of indentcodeblockcommand tests.
|
6 years ago |
Maciej Gołaszewski
|
3c73fed1d9
Further enhance description of CodeBlockCommand tests.
|
6 years ago |
Maciej Gołaszewski
|
85ad71d206
Enhance description of CodeBlockCommand#value tests.
|
6 years ago |
Aleksander Nowodzinski
|
163d2764fd
Make sure the "code" attribute is allowed when marking the output of getSelectedContent().
|
6 years ago |
Aleksander Nowodzinski
|
36f4566a59
Tests: Fixed a failing test after change of the button's label.
|
6 years ago |
Aleksander Nowodzinski
|
4e28f3a82d
Updated the feature button's label. Added the contexts.json file.
|
6 years ago |
Aleksander Nowodzinski
|
43300d90bb
Tests: Added missing scenarios to feature's manual test.
|
6 years ago |
Aleksander Nowodzinski
|
61a42a6ec5
Improved the feature icon.
|
6 years ago |
Aleksander Nowodzinski
|
28c6b097c8
Allowed leaving the code block by pressing enter in an empty line at the beginning of the block.
|
6 years ago |
Aleksander Nowodzinski
|
a21c919b98
Added missing dependencies to package.json.
|
6 years ago |
Aleksander Nowodzinski
|
ee42b3530e
Removed the dotAll flag from the extractDataFromCodeElement() regex due to errors in Firefox (not supported).
|
6 years ago |
Aleksander Nowodzinski
|
c126c4f6a6
Docs and code refactoring.
|
6 years ago |
Aleksander Nowodzinski
|
28104ad080
Enabled code block indent and outdent commands in the editing. Defined config.codeBlock.indentSequence.
|
6 years ago |
Aleksander Nowodzinski
|
881b953c95
Created the IndentCodeBlockCommand.
|
6 years ago |
Aleksander Nowodzinski
|
1604c808dd
Tests: Code refactoring.
|
6 years ago |
Aleksander Nowodzinski
|
d51aa72eda
Do not customize getSelectedContent() when the selection is empty.
|
6 years ago |
Aleksander Nowodzinski
|
efc6627d2c
Used model writer to customize the getSelectedContent() method behavior.
|
6 years ago |
Aleksander Nowodzinski
|
3d4f0b73f6
Enabled the Autoformat plugin in the manual test.
|
6 years ago |
Aleksander Nowodzinski
|
8f41068df3
Ensured the code block is properlu copied to the clipboard (getSelectedContent() integration).
|
6 years ago |
Aleksander Nowodzinski
|
4ff12c6974
Indentation retention when pressing enter.
|
6 years ago |
Aleksander Nowodzinski
|
64d8d57c41
Used tab-size for the pre for better look.
|
6 years ago |
Aleksander Nowodzinski
|
d79649d4fc
Double shift enter should not leave the code block when executed at the end of it.
|
6 years ago |
Aleksander Nowodzinski
|
843bdb44a0
Improvements to the code block CSS.
|
6 years ago |
Aleksander Nowodzinski
|
7659071684
Double enter at the end of the code block should exit it.
|
6 years ago |
Aleksander Nowodzinski
|
1efdcf2ad3
Tests: "Fixed" CodeBlockEditing some failing assertions by adding a comment explaining that the issue is not in the package.
|
6 years ago |
Aleksander Nowodzinski
|
0e4172727b
Tests: Added a test to check what happens if an unsplittable parent does not allow codeBlock during upcasting.
|
6 years ago |
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 years ago |
Aleksander Nowodzinski
|
2b81615f97
Implemented the "codeBlock" dropdown with a split button and a list of available languages.
|
6 years ago |
Aleksander Nowodzinski
|
65890e7f7b
Make sure the "Plain text" label from the config is correctly translated.
|
6 years ago |