Commit Graph

17 Commits

Author SHA1 Message Date
Dominik Biedebach
1024892454 Revert "Merge branch 'add-empty-editor-class-to-root-div'"
This reverts commit 1d0158d5c5, reversing
changes made to bda6e8d308.
2022-09-10 16:16:47 +02:00
Dominik Biedebach
6a85f73659 style(extension/placeholder): fix linting issues 2022-09-10 15:31:54 +02:00
Dominik Biedebach
6cbc2d4233 Merge branch 'main' of github.com:ueberdosis/tiptap into add-empty-editor-class-to-root-div 2022-09-10 15:31:04 +02:00
Dominik
1ebc8f8e14 chore: migrate to new versions of prosemirror packages (#2854)
* refactor: upgrade prosemirror packages to new typescript versions

* refactor: migrate to new typings from prosemirror

* style: fix linting issues

* style: fix linting issues

* style: fix linting issues

* fix(ci): fix build process by reimplement filterTransaction

* fix(extension-test): fix broken build because of wrong output file names

* fix: fix prosemirror-tables not being bundled correctly for ES6

* fix: move to prosemirror-tables-contently until es6 build is working

* fix: fix tests for youtube

* fix: fix youtube test

* fix(demos): fix demos build
2022-06-20 11:45:37 +02:00
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
BrianHung
1d71877ffd fix-decorations-and-attribute-editor-props 2022-03-30 02:02:11 -07:00
BrianHung
ebddbadc1b add-empty-editor-class-to-root-div 2022-03-30 01:24:02 -07:00
Philipp Kühn
5257a3b948 fix: fix hasAnchor type for placeholder extension 2022-02-03 15:02:45 +01:00
Yousef
2fe6e2135d feat: expose hasAnchor to custom placeholder function (#2470)
* expose hasAnchor to custom placeholder function

* Update placeholder.ts
2022-02-03 14:39:15 +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
eb5374321b feat: add pos to placeholder props 2021-10-12 23:30:30 +02:00
Nicholas Bush
1799b907ec feat: add includeChildren option to placeholder extension (#1416) 2021-09-08 09:38:57 +02:00
Philipp Kühn
11b4866948 fix: don’t show placeholder if node contains only atom nodes, fix #1457 2021-06-14 15:07:17 +02:00
Philipp Kühn
7b74d5849f fix lint errors 2021-05-28 15:16:33 +02:00
Philipp Kühn
456f2b702b fix: check for empty text, fix #1292 2021-05-13 21:25:33 +02:00
Philipp Kühn
0a238d9c12 add editor to placeholder props 2021-03-27 11:16:50 +01:00
Philipp Kühn
49611e16e5 add placeholder extension 2021-03-24 22:50:30 +01:00