Commit Graph

546 Commits

Author SHA1 Message Date
Markus Machatschek
52dd6e0e64 Prevent tiptap from creating duplicate style tags when injecting css 2021-05-31 19:12:05 +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
370966847e fix: fix error when calculating contentMatch within clearNodes command, fix #1361 2021-05-28 17:37:28 +02:00
Philipp Kühn
7b74d5849f fix lint errors 2021-05-28 15:16:33 +02:00
Philipp Kühn
e52f41ae78 fix: fix fragile schema validity test in splitBlock 2021-05-28 13:55:54 +02:00
Philipp Kühn
939fc3d93a fix: prevent bug when editor is destroyed very fast 2021-05-28 12:14:12 +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
8f101810fe fix: preserve whitespace when using insertContent command 2021-05-19 15:15:56 +02:00
Philipp Kühn
2f7a6adca5 feat: allow number for setTextSelection and insertContentAt 2021-05-19 00:25:36 +02:00
Philipp Kühn
fcee5f82c6 feat: add deleteNode method to node views 2021-05-19 00:03:41 +02:00
Philipp Kühn
f829b45bf0 fix: add marks to JSONContent type 2021-05-18 22:51:53 +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
5b8808a899 fix: fix export for getAttributes 2021-05-17 11:58:27 +02:00
Philipp Kühn
463661c5ed feat: add findChildrenInRange helper 2021-05-17 11:29:41 +02:00
Philipp Kühn
2bd17c7dc6 feat: export isList, fix #1326 2021-05-17 11:25:18 +02:00
Philipp Kühn
28737b1631 fix: fix missing extensions when using addExtension, fix #1309 2021-05-13 20:44:51 +02:00
Andrea Vaccari
655957d733 fix(core): Increment i in defaultBlockAt 2021-05-13 11:39:26 -05:00
Philipp Kühn
a35b2533eb fix: fix a bug in detecting a current list in toggleList command 2021-05-13 14:43:27 +02:00
Philipp Kühn
2a79f59c6d
Merge pull request #1301 from zcuric/feature/export-mark-helpers
feat: export mark helpers
2021-05-11 17:04:01 +02:00
Philipp Kühn
655c5647f0 fix: fix a bug when configurating the same extension multiple times 2021-05-11 17:03:34 +02:00
Zdravko Curic
313ab0eac7 feat: export mark helpers 2021-05-11 11:22:28 +02:00
Philipp Kühn
b4e2b6fc9d fix: set correct priority when extending extensions, fix #1288 2021-05-10 00:13:32 +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
0610fce06a
Merge pull request #1278 from zcuric/main
feat: expose node helpers
2021-05-07 10:35:34 +02:00
Philipp Kühn
129ad83167 fix: add support for priority and nested extension for getSchema 2021-05-07 10:25:55 +02:00
Philipp Kühn
cbc0dd8920 fix: remove editor from addExtensions context 2021-05-07 10:24:48 +02:00
Philipp Kühn
ae17bd101c refactoring 2021-05-07 10:08:30 +02:00
Philipp Kühn
7da647d99f fix: fix a bug that messed up pasted link attributes, fix #1284 2021-05-07 09:54:40 +02:00
Philipp Kühn
26e672e2f0 feat: add addExtensions option 2021-05-06 18:39:47 +02:00
Zdravko Curic
6048f9b31b feat: expose node helpers to core 2021-05-06 14:52:44 +02:00
Philipp Kühn
9399e3061f remove some deprecated commands 2021-05-05 23:45:17 +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
86d570fb79 feat: remove deprecated commands insertHTML, insertNode and insertText 2021-05-05 20:50:01 +02:00
Philipp Kühn
0030f083b0 docs: update content 2021-05-05 19:42:47 +02:00
Philipp Kühn
71740687f4 use replaceWith instead of replaceRangeWith in insertContentAt 2021-05-05 18:48:22 +02:00
Philipp Kühn
12b6f0e4f7 use tr.replaceRangeWith instead of tr.insert for insertContent command 2021-05-05 14:50:27 +02:00
Philipp Kühn
b5c51723ea remove insertText from insertContent 2021-05-05 14:13:58 +02:00
Philipp Kühn
63902d4bdb remove replaceRange from mention node 2021-05-05 13:49:32 +02:00
Philipp Kühn
ec838a11f2 improve Content type 2021-05-05 13:08:19 +02:00
Philipp Kühn
9ff7e2400e add insertContentAt command 2021-05-05 13:00:30 +02:00
Philipp Kühn
b131330ca1 don’t check for canReplaceWith within replaceRange 2021-05-04 20:51:32 +02:00
Philipp Kühn
b3fb0228e0 fix: ignore editable in dispatchTransaction, fix #1239 2021-05-04 10:46:32 +02:00
Philipp Kühn
80cf8bb71b throw error for missing mark/node type 2021-05-03 09:50:57 +02:00
Mark Zepeda
7426be019e
Fix returning true/false in can().chain().run()
I think this was previously meant to return a function in the proxy object getter, but now it's a standalone function and should return the result of the callbacks.
2021-05-02 20:04:10 -05:00
Philipp Kühn
0b67f18e3a fix: fix onBeforeCreate event handler, fix #1236 2021-04-27 21:52:22 +02:00
Philipp Kühn
234d23887b fix: prevent a bug for node views when pressing enter on iOS, fix #1214 2021-04-27 21:07:12 +02:00