Jarle Friestad
dbcdaad30a
fix(task-item): prevent onBlur being trigged when toggled ( #5520 )
2024-08-20 16:54:16 +02:00
Nick Perez
7f24a6677b
refactor(core): update typings for NodeViews to be accurate to implementation #5483 ( #5526 )
2024-08-20 16:25:16 +02:00
Yuichiro Yamashita
6543f059ff
fix: allow task items to be parsed when only having <li data-checked
instead of only when <li data-checked="true"
(re-fix of #5366 ) ( #5426 )
...
* fix
* changeset
2024-08-01 00:25:29 +02:00
Yuichiro Yamashita
e6c759ba60
fix(extension-task-item): more flexible inputs for parsing
2024-07-18 12:31:16 +02:00
bdbch
b941eea6da
feat: added jsdocs ( #4356 )
...
* added JSDocs for almost all extensions
* start adding commands jsdocs
* add jsdocs for rest of extensions
* add jsdocs for Extensions
* add js docs for all extensions
* add more jsdocs
* add js docs for node spec definitions
2024-05-11 14:30:44 +02:00
bdbch
7e7057ea43
chore(lists): move list keymap to extra extension ( #4290 )
...
* move list keymap to extra extension
* update docs and readme
* move list helpers out of core
2023-08-10 16:44:46 -07:00
bdbch
d1e879dfab
Fix List issues & add support for Mod keys ( #4210 )
...
* add support for mod-delete and mod-backspace
* fix backspace not working right behind a list
* move list helpers to core, add support for task lists
* add option to check for node in isAtEndOfNode
---------
Co-authored-by: bdbch <dominik@bdbch.com>
2023-08-03 10:19:32 +02:00
Ben Asher
e97630c639
Require file extensions for imports and exports ( #4001 )
...
* Require .js endings
* add extension alias for cypress to resolve ts files with js endings
2023-06-30 21:03:49 +02:00
Dominik
f387ad3dd4
feat(pm): new prosemirror package for dependency resolving
...
* chore:(core): migrate to tsup
* chore: migrate blockquote and bold to tsup
* chore: migrated bubble-menu and bullet-list to tsup
* chore: migrated more packages to tsup
* chore: migrate code and character extensions to tsup
* chore: update package.json to simplify build for all packages
* chore: move all packages to tsup as a build process
* chore: change ci build task
* feat(pm): add prosemirror meta package
* rfix: resolve issues with build paths & export mappings
* docs: update documentation to include notes for @tiptap/pm
* chore(pm): update tsconfig
* chore(packages): update packages
* fix(pm): add package export infos & fix dependencies
* chore(general): start moving to pm package as deps
* chore: move to tiptap pm package internally
* fix(demos): fix demos working with new pm package
* fix(tables): fix tables package
* fix(tables): fix tables package
* chore(demos): pinned typescript version
* chore: remove unnecessary tsconfig
* chore: fix netlify build
* fix(demos): fix package resolving for pm packages
* fix(tests): fix package resolving for pm packages
* fix(tests): fix package resolving for pm packages
* chore(tests): fix tests not running correctly after pm package
* chore(pm): add files to files array
* chore: update build workflow
* chore(tests): increase timeout time back to 12s
* chore(docs): update docs
* chore(docs): update installation guides & pm information to docs
* chore(docs): add link to prosemirror docs
* fix(vue-3): add missing build step
* chore(docs): comment out cdn link
* chore(docs): remove semicolons from docs
* chore(docs): remove unnecessary installation note
* chore(docs): remove unnecessary installation note
2023-02-02 17:37:33 +01: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
Kasper Nilsson
5f44aa02f0
Fix lint issue
2022-05-20 22:33:50 +02:00
Kasper Nilsson
515300bb26
Respond to review feedback
2022-05-20 22:33:50 +02:00
Kasper Nilsson
71e941f3da
Fix lint
2022-05-20 22:33:50 +02:00
Kasper Nilsson
2875fbe1c9
Make option a callback, update docs
2022-05-20 22:33:50 +02:00
Kasper Nilsson
eda8d801b5
Whoops
2022-05-20 22:33:50 +02:00
Kasper Nilsson
8874e5e5e6
Add option to allow task items to be checkable (uncontrolled)
...
Useful for drafting interactive documents. Could see this expanding to potentially also support passing a callback?
Will happily update documentation if this approach is accepted!
2022-05-20 22:33:50 +02:00
Dominik Biedebach
06fd7fb429
fix: allow [] as a prefix for task items
2022-04-10 21:05:57 +02:00
Philipp Kühn
fe27843e80
fix: merge attrributes correctly when clicking task checkbox, fix #2422
2022-01-24 10:18:51 +01:00
Philipp Kühn
6c34dec33a
fix: remove some magic strings
2021-12-02 14:58:15 +01:00
Philipp Kühn
e0f64904b6
feat: add scrollIntoView option to focus command, fix #2172
2021-11-25 17:18:30 +01:00
Philipp Kühn
c94d2b0517
fix: add checkboxes to TaskItem HTML output, fix #2037
2021-11-08 20:52:42 +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
81d8097959
fix: add HTMLAttributes to task item node view
2021-10-18 23:20:20 +02:00
Philipp Kühn
723b955cec
feat: Integrate input rules and paste rules into the core ( #1997 )
...
* refactoring
* improve link regex
* WIP: add new markPasteRule und linkify to image mark
* move copy of inputrule to core
* trigger codeblock inputrule on enter
* refactoring
* add regex match to markpasterulematch
* refactoring
* improve link regex
* WIP: add new markPasteRule und linkify to image mark
* move copy of inputrule to core
* trigger codeblock inputrule on enter
* refactoring
* add regex match to markpasterulematch
* update linkify
* wip
* wip
* log
* wip
* remove debug code
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* rename matcher
* add data to ExtendedRegExpMatchArray
* remove logging
* add code option to marks, prevent inputrules in code mark
* remove link regex
* fix codeblock inputrule on enter
* refactoring
* refactoring
* refactoring
* refactoring
* fix position bug
* add test
* export InputRule and PasteRule
* clean up link demo
* fix types
2021-10-08 15:02:09 +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
BrianHung
1ac8353768
initialize task-item nodeview with dataset checked
2021-07-10 23:36:03 +02:00
BrianHung
6c1e705a7a
update task-item.ts nodeview to update data-checked
...
#1156
2021-07-10 23:36:03 +02:00
Philipp Kühn
c58a753e94
fix: prevent checkbox change when editor isn’t editable, fix #1386
2021-05-27 18:33:15 +02:00
Philipp Kühn
5e53e444d5
refactor: use chain on checkbox click
2021-04-22 23:10:54 +02:00
Philipp Kühn
1c8ca95de2
refactor: remove AnyObject type
2021-04-21 09:43:31 +02:00
Philipp Kühn
5622deca30
fix: fix checkbox in firefox, fix #251
2021-04-06 18:57:39 +02:00
Philipp Kühn
215c26748b
improve options interface
2021-02-10 18:25:08 +01:00
Philipp Kühn
290ff76e37
add Commands interface
2021-02-10 09:59:35 +01:00
Philipp Kühn
a73e6c8e46
fix nested tasklists, fix #123
2021-01-29 21:45:51 +01:00
Philipp Kühn
3039871767
add keepOnSplit option to splitListItem
2021-01-28 23:51:20 +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
127d9f29ac
fix a bug for task item
2020-12-02 18:13:16 +01:00
Philipp Kühn
d7084845f4
fix task list example
2020-11-25 11:24:10 +01:00
Philipp Kühn
ddc71f792a
manually merge HTMLAttributes
2020-11-25 09:50:54 +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
2591ffe419
add HTMLAttributes to defaultoptions
2020-11-13 16:44:22 +01:00
Philipp Kühn
c840a562de
rename attributes to HTMLAttributes
2020-11-13 16:07:20 +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