Commit Graph

29 Commits

Author SHA1 Message Date
Dominik
8c6751f0c6
add precommit hook for linting and automatic eslint fixes + update eslint packages (#2862)
* chore: add precommit hook for eslint fixes, fix linting issues
* chore: add eslint import sort plugin
2022-06-08 14:10:25 +02:00
Philipp Kühn
9247fcb6cf fix: prevent adding hard breaks in isolated nodes 2021-11-03 21:09:40 +01:00
Philipp Kühn
9afadeb7fe
feat!: Replace defaultOptions with addOptions (#2088)
* add new addOptions option

* replace defaultOptions with addOptions for all extensions

* replace defaultOptions with addOptions for all demos

* replace defaultOptions with addOptions in docs

* refactoring

* refactoring

* drop object support for addOptions

* fix optional options

* fix tests
2021-10-26 18:31:13 +02:00
Philipp Kühn
377bbb177d feat: setHardBreak now keeps splittable marks by default, fix #1934 2021-09-23 09:34:47 +02:00
Philipp Kühn
787d7848cd fix: render line break in text/plain format for hard breaks, fix #1842 2021-09-06 19:05:01 +02:00
Philipp Kühn
78e2a6e775 add generic to commands type 2021-06-04 21:56:29 +02:00
Philipp Kühn
55d430ef8f refactoring 2021-05-05 18:51:42 +02:00
Philipp Kühn
1c8ca95de2 refactor: remove AnyObject type 2021-04-21 09:43:31 +02:00
Philipp Kühn
56b4df044f rename AllCommands to Commands 2021-02-16 18:39:37 +01:00
Philipp Kühn
ca8d1a4245 add command scope 2021-02-16 11:27:58 +01:00
Philipp Kühn
215c26748b improve options interface 2021-02-10 18:25:08 +01:00
Philipp Kühn
55ff908423 refactoring 2021-02-10 18:05:02 +01:00
Philipp Kühn
290ff76e37 add Commands interface 2021-02-10 09:59:35 +01:00
Florian Wiech
4142637921
refactor: recreate extension exports 2020-12-07 21:32:50 +01:00
Florian Wiech
11de3a287f
refactor: restructure extensions 2020-12-07 21:09:02 +01:00
Philipp Kühn
ddc71f792a manually merge HTMLAttributes 2020-11-25 09:50:54 +01:00
Philipp Kühn
3cd6c55279 restructure commands 2020-11-18 16:43:27 +01:00
Philipp Kühn
bf08653bba add hardbreak commands 2020-11-18 12:11:45 +01:00
Philipp Kühn
0c9ce26c02 Revert "use global namespace"
This reverts commit 24c3a9abd3.

# Conflicts:
#	packages/core/src/Editor.ts
2020-11-16 16:58:30 +01:00
Philipp Kühn
24c3a9abd3 use global namespace 2020-11-16 15:40:05 +01:00
Philipp Kühn
8a7603edaf replace NodeExtension with Node, replace MarkExtension with Mark 2020-11-16 11:19:43 +01:00
Philipp Kühn
034ee139a3 add new syntax to all packages 2020-11-15 23:25:25 +01:00
Philipp Kühn
f329229e03 Merge branch 'main' of https://github.com/ueberdosis/tiptap-next into main 2020-11-13 16:44:26 +01:00
Philipp Kühn
c840a562de rename attributes to HTMLAttributes 2020-11-13 16:07:20 +01:00
Hans Pagel
1f30ea271b Merge branch 'main' of github.com:ueberdosis/tiptap-next into main 2020-11-13 15:08:40 +01:00
Hans Pagel
5b76bf5141 add comments to all commands 2020-11-13 15:08:30 +01:00
Philipp Kühn
13489998b9 prefix all commands with ‚commands‘ 2020-11-13 11:42:04 +01:00
Philipp Kühn
cb5ca0c084 refactoring 2020-11-10 21:18:22 +01:00
Philipp Kühn
d3b4e7a1d4 fix build for now 2020-11-10 16:29:31 +01:00