Philipp Kühn
|
2c9cf03398
|
fix: getHTMLFromFragment now expects a fragment instead of node
|
2021-09-28 21:34:57 +02:00 |
|
Philipp Kühn
|
b42e442a5a
|
fix: add support for CellSelection in isActive helper, fix #1947
|
2021-09-27 23:33:32 +02:00 |
|
Philipp Kühn
|
e5c765c8e4
|
refactoring
|
2021-09-22 22:45:27 +02:00 |
|
Philipp Kühn
|
c91b2f29be
|
refactoring
|
2021-09-22 21:14:07 +02:00 |
|
Philipp Kühn
|
fcca1e6f4d
|
fix: improve performance for isActive method, see #1930
|
2021-09-22 19:43:55 +02:00 |
|
Philipp Kühn
|
6437790431
|
fix: improve active mark detection for inline nodes, fix #1893
|
2021-09-15 23:25:28 +02:00 |
|
Philipp Kühn
|
fe6a3e7491
|
feat: add getText() and generateText() methods (fix #1428) (#1875)
* move getTextBetween method
* add getText method
* refactoring
* refactoring
* refactoring
* move renderText to schema, add generateText method
* add GenerateText demo
* docs: update
* remove demo from html page
|
2021-09-09 23:51:05 +02:00 |
|
Philipp Kühn
|
8a3b47a529
|
feat: parseHTML for attributes should return the value instead of an object now, fix #1863
|
2021-09-08 23:53:44 +02:00 |
|
Philipp Kühn
|
f65e1b32a1
|
fix: add topNode to getDebugJSON
|
2021-08-24 17:11:13 +02:00 |
|
Philipp Kühn
|
64409cad66
|
feat: allow wildcards when checking attributes in isActive, fix #1752
|
2021-08-20 10:51:46 +02:00 |
|
Philipp Kühn
|
502b5b1cc9
|
fix: improve types for generateHTML
|
2021-06-17 23:41:42 +02:00 |
|
Philipp Kühn
|
485fb8c74c
|
fix: remove custom coordsAtPos method, fix #583
|
2021-06-01 18:57:46 +02:00 |
|
Philipp Kühn
|
3c4cc96fee
|
fix: check for excluded marks in isMarkActive, fix #1388
|
2021-05-29 21:02:59 +02:00 |
|
Philipp Kühn
|
c0e68d5a25
|
fix: do not check for node selection within posToDOMRect
|
2021-05-24 20:40:24 +02:00 |
|
Philipp Kühn
|
a4ec4ffcfd
|
fix: check for NodeSelection within posToDOMRect
|
2021-05-24 08:46:51 +02:00 |
|
Philipp Kühn
|
940fd69b61
|
fix: remove empty attributes in getDebugJSON
|
2021-05-19 18:27:12 +02:00 |
|
Philipp Kühn
|
2ba3cad891
|
not sure about this one
|
2021-05-17 21:00:22 +02:00 |
|
Philipp Kühn
|
ff7dd9b919
|
feat: add support for checking for attributes in extendMarkRange
|
2021-05-17 13:00:54 +02:00 |
|
Philipp Kühn
|
463661c5ed
|
feat: add findChildrenInRange helper
|
2021-05-17 11:29:41 +02:00 |
|
Philipp Kühn
|
072905cb95
|
feat: add editor.getAttributes, deprecate editor.getNodeAttributes and editor.getMarkAttributes
|
2021-05-07 11:10:18 +02:00 |
|
Philipp Kühn
|
b0755cbad6
|
Merge pull request #1273 from ueberdosis/feature/generate-json-from-html
New Feature: Generate JSON from HTML
|
2021-05-07 10:37:17 +02:00 |
|
Philipp Kühn
|
129ad83167
|
fix: add support for priority and nested extension for getSchema
|
2021-05-07 10:25:55 +02:00 |
|
Hans Pagel
|
7feb19eb72
|
feature: add generateJSON utility function to generate JSON from a HTML string
|
2021-05-05 21:24:24 +02:00 |
|
Philipp Kühn
|
b5c51723ea
|
remove insertText from insertContent
|
2021-05-05 14:13:58 +02:00 |
|
Philipp Kühn
|
80cf8bb71b
|
throw error for missing mark/node type
|
2021-05-03 09:50:57 +02:00 |
|
Philipp Kühn
|
592892edd1
|
fix: add correct type for parseOptions
|
2021-04-26 23:43:32 +02:00 |
|
Philipp Kühn
|
1c8ca95de2
|
refactor: remove AnyObject type
|
2021-04-21 09:43:31 +02:00 |
|
Philipp Kühn
|
12f60abb73
|
feat: add name to extension context
|
2021-04-20 23:11:35 +02:00 |
|
Philipp Kühn
|
89b72b8608
|
refactoring: rename posToClientRect to posToDOMRect
|
2021-04-16 14:44:10 +02:00 |
|
Philipp Kühn
|
8dab6144a6
|
feat: add coordsAtPos and posToClientRect helper methods
|
2021-04-16 09:56:52 +02:00 |
|
Philipp Kühn
|
afe12f1603
|
fix attributes
|
2021-04-15 23:14:47 +02:00 |
|
Philipp Kühn
|
08974c6332
|
fix lint errors
|
2021-04-15 22:58:13 +02:00 |
|
Philipp Kühn
|
6c2eea094c
|
wip: fix isList
|
2021-04-15 22:08:52 +02:00 |
|
Philipp Kühn
|
05434afc47
|
wip: add extension.name
|
2021-04-15 22:03:45 +02:00 |
|
Philipp Kühn
|
016bda4010
|
wip: fix extendNodeSchema and extendMarkSchema
|
2021-04-15 21:43:41 +02:00 |
|
Philipp Kühn
|
07bc40ce75
|
wip: add getExtensionField
|
2021-04-15 21:14:33 +02:00 |
|
Philipp Kühn
|
c40ce34eec
|
wip: add some hierarchy tests
|
2021-04-14 09:48:38 +02:00 |
|
Philipp Kühn
|
5e1ec5d2a6
|
feat: add parentConfig to extension context for more extendable extensions, fix #259
|
2021-04-12 11:11:02 +02:00 |
|
Philipp Kühn
|
39147f5b02
|
fix: fixed type for Content
|
2021-04-09 08:22:13 +02:00 |
|
Philipp Kühn
|
95f31f48fd
|
Merge branch 'main' into feature/extension-code-block-lowlight
|
2021-04-07 22:39:39 +02:00 |
|
Philipp Kühn
|
b8d9b7d4c7
|
feat: add insertContent() command, deprecate insertText(), insertHTML() and insertNode()
|
2021-04-07 11:53:37 +02:00 |
|
Philipp Kühn
|
6757813fd0
|
refactoring
|
2021-04-02 23:53:04 +02:00 |
|
Philipp Kühn
|
f8d029040a
|
fix type cycle bug in vite
|
2021-03-31 13:44:56 +02:00 |
|
Philipp Kühn
|
43320e51c7
|
add isNodeEmpty helper method
|
2021-03-24 22:23:08 +01:00 |
|
Philipp Kühn
|
e31ddbd2d8
|
remove unused file
|
2021-02-26 19:03:41 +01:00 |
|
Philipp Kühn
|
6fb28a2741
|
make extension configs extendable
|
2021-02-19 17:35:50 +01:00 |
|
Philipp Kühn
|
ba69a0d8f9
|
improve extending nodes and marks
|
2021-02-19 10:54:47 +01:00 |
|
Philipp Kühn
|
6f9557294e
|
add basic schema extender
|
2021-02-19 09:54:39 +01:00 |
|
Philipp Kühn
|
501d540c2d
|
move selectionToInsertionEnd
|
2021-02-17 23:30:40 +01:00 |
|
Philipp Kühn
|
97eb9c411c
|
add getSplittedAttributes helper
|
2021-01-29 09:33:42 +01:00 |
|