Aleksander Nowodzinski
|
279713def3
Update src/utils.js
|
6 gadi atpakaļ |
Aleksander Nowodzinski
|
7a39a25e4f
Update src/codeblockcommand.js
|
6 gadi atpakaļ |
Aleksander Nowodzinski
|
ccf8b7bf9d
Update tests/codeblock.js
|
6 gadi atpakaļ |
Maciej Gołaszewski
|
3b5a109156
Use explicit schema definition for codeBlock.
|
6 gadi atpakaļ |
Maciej Gołaszewski
|
c45537a91c
Typo fix.
|
6 gadi atpakaļ |
Maciej Gołaszewski
|
cecb08f4d3
Remove superfluous schema child check for codeBlock in code block.
|
6 gadi atpakaļ |
Maciej Gołaszewski
|
3fcbc0a6b6
Simplify canBeCodeBlock() schema check return value.
|
6 gadi atpakaļ |
Maciej Gołaszewski
|
c8374acac1
Update description of indentcodeblockcommand tests.
|
6 gadi atpakaļ |
Maciej Gołaszewski
|
3c73fed1d9
Further enhance description of CodeBlockCommand tests.
|
6 gadi atpakaļ |
Maciej Gołaszewski
|
85ad71d206
Enhance description of CodeBlockCommand#value tests.
|
6 gadi atpakaļ |
Aleksander Nowodzinski
|
163d2764fd
Make sure the "code" attribute is allowed when marking the output of getSelectedContent().
|
6 gadi atpakaļ |
Aleksander Nowodzinski
|
36f4566a59
Tests: Fixed a failing test after change of the button's label.
|
6 gadi atpakaļ |
Aleksander Nowodzinski
|
4e28f3a82d
Updated the feature button's label. Added the contexts.json file.
|
6 gadi atpakaļ |
Aleksander Nowodzinski
|
43300d90bb
Tests: Added missing scenarios to feature's manual test.
|
6 gadi atpakaļ |
Aleksander Nowodzinski
|
61a42a6ec5
Improved the feature icon.
|
6 gadi atpakaļ |
Aleksander Nowodzinski
|
28c6b097c8
Allowed leaving the code block by pressing enter in an empty line at the beginning of the block.
|
6 gadi atpakaļ |
Aleksander Nowodzinski
|
a21c919b98
Added missing dependencies to package.json.
|
6 gadi atpakaļ |
Aleksander Nowodzinski
|
ee42b3530e
Removed the dotAll flag from the extractDataFromCodeElement() regex due to errors in Firefox (not supported).
|
6 gadi atpakaļ |
Aleksander Nowodzinski
|
c126c4f6a6
Docs and code refactoring.
|
6 gadi atpakaļ |
Aleksander Nowodzinski
|
28104ad080
Enabled code block indent and outdent commands in the editing. Defined config.codeBlock.indentSequence.
|
6 gadi atpakaļ |
Aleksander Nowodzinski
|
881b953c95
Created the IndentCodeBlockCommand.
|
6 gadi atpakaļ |
Aleksander Nowodzinski
|
1604c808dd
Tests: Code refactoring.
|
6 gadi atpakaļ |
Aleksander Nowodzinski
|
d51aa72eda
Do not customize getSelectedContent() when the selection is empty.
|
6 gadi atpakaļ |
Aleksander Nowodzinski
|
efc6627d2c
Used model writer to customize the getSelectedContent() method behavior.
|
6 gadi atpakaļ |
Aleksander Nowodzinski
|
3d4f0b73f6
Enabled the Autoformat plugin in the manual test.
|
6 gadi atpakaļ |
Aleksander Nowodzinski
|
8f41068df3
Ensured the code block is properlu copied to the clipboard (getSelectedContent() integration).
|
6 gadi atpakaļ |
Aleksander Nowodzinski
|
4ff12c6974
Indentation retention when pressing enter.
|
6 gadi atpakaļ |
Aleksander Nowodzinski
|
64d8d57c41
Used tab-size for the pre for better look.
|
6 gadi atpakaļ |
Aleksander Nowodzinski
|
d79649d4fc
Double shift enter should not leave the code block when executed at the end of it.
|
6 gadi atpakaļ |
Aleksander Nowodzinski
|
843bdb44a0
Improvements to the code block CSS.
|
6 gadi atpakaļ |