Commit Graph

10 Commits

Author SHA1 Message Date
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