Maciej Gołaszewski
|
f78b204a74
Fix various issues with short-circuit or unused expressions.
|
5 年之前 |
Kuba Niegowski
|
987265215d
Updated calls to Element#is() - type argument should always be provided.
|
5 年之前 |
Kuba Niegowski
|
d914edc1ee
Replaced item.is( 'text' ) with item.is( '$text' ) and the same for textProxy -> $textProxy.
|
5 年之前 |
Tomek Wytrębowicz
|
40629c5caf
Use text nodes content directly instead of stringifying using data processor,
|
5 年之前 |
Piotrek Koszuliński
|
633d98232c
Merge branch 'master' into i/5794
|
5 年之前 |
Maciej Gołaszewski
|
a5d39c550e
Fix dangling comma.
|
5 年之前 |
Kamil Piechaczek
|
b8831a082e
XML and HTML are treated as separates languages.
|
5 年之前 |
Kamil Piechaczek
|
bbf6065b7d
Internal: Bumped the year. [skip ci]
|
6 年之前 |
Aleksander Nowodzinski
|
82482d7a43
Changed the configuration format (CodeBlockLanguageDefinition). CSS classes are now generated from #language or customized using #class.
|
6 年之前 |
Aleksander Nowodzinski
|
82d8291fda
Created separated IndentCodeBlockCommand and OutdentCodeBlockCommand classes.
|
6 年之前 |
Aleksander Nowodzinski
|
fa4cc794be
Changed the language classes in the default config for the out-of-the-box compatibility with 3rd-party highlighters.
|
6 年之前 |
Aleksander Nowodzinski
|
f76f0b3d7d
Update src/codeblockediting.js
|
6 年之前 |
Maciej Gołaszewski
|
3b5a109156
Use explicit schema definition for codeBlock.
|
6 年之前 |
Maciej Gołaszewski
|
cecb08f4d3
Remove superfluous schema child check for codeBlock in code block.
|
6 年之前 |
Aleksander Nowodzinski
|
163d2764fd
Make sure the "code" attribute is allowed when marking the output of getSelectedContent().
|
6 年之前 |
Aleksander Nowodzinski
|
28c6b097c8
Allowed leaving the code block by pressing enter in an empty line at the beginning of the block.
|
6 年之前 |
Aleksander Nowodzinski
|
c126c4f6a6
Docs and code refactoring.
|
6 年之前 |
Aleksander Nowodzinski
|
28104ad080
Enabled code block indent and outdent commands in the editing. Defined config.codeBlock.indentSequence.
|
6 年之前 |
Aleksander Nowodzinski
|
d51aa72eda
Do not customize getSelectedContent() when the selection is empty.
|
6 年之前 |
Aleksander Nowodzinski
|
efc6627d2c
Used model writer to customize the getSelectedContent() method behavior.
|
6 年之前 |
Aleksander Nowodzinski
|
8f41068df3
Ensured the code block is properlu copied to the clipboard (getSelectedContent() integration).
|
6 年之前 |
Aleksander Nowodzinski
|
4ff12c6974
Indentation retention when pressing enter.
|
6 年之前 |
Aleksander Nowodzinski
|
d79649d4fc
Double shift enter should not leave the code block when executed at the end of it.
|
6 年之前 |
Aleksander Nowodzinski
|
843bdb44a0
Improvements to the code block CSS.
|
6 年之前 |
Aleksander Nowodzinski
|
7659071684
Double enter at the end of the code block should exit it.
|
6 年之前 |
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 年之前 |
Aleksander Nowodzinski
|
da62d7e3ab
Default feature config and the "language" attribute in the model followed by the "class" attribute in the view.
|
6 年之前 |
Aleksander Nowodzinski
|
bc4c3b63dc
The feature should handle clipboard input and make sure the existing code block is not split.
|
6 年之前 |
Oskar Wróbel
|
b96c72b9b3
Changed new line character to <br> for the editing pipeline.
|
6 年之前 |
Oskar Wróbel
|
4e7368309a
Changed code block view structure from pre to pre > code.
|
6 年之前 |