Arnau Gómez Farell
89bd9c7d29
Fix/enforce-type-imports-so-that-bundler-ignores-types ( #6132 )
...
* fix: enforce type imports so that the bundler ignores types
* chore: add changeset
* fix: export types with export type keyword
2025-03-03 15:15:30 +01:00
Nick Perez
7b4e6f5d11
build: migrate to pnpm ( #5978 )
2025-01-06 09:35:00 +01:00
Nick the Sick
2a1d31c4ea
Merge branch 'develop' into next
2024-12-04 16:49:12 +01:00
bdbch
d9b6ef5ce2
fix emptyTextBlock detection to handle leaf nodes too ( #5838 )
...
* fix : #4327
* merge forked PR
---------
Co-authored-by: Tony Hallett <tonyhallett74@gmail.com>
2024-11-30 14:19:16 +01:00
Nick the Sick
f9f4c798fc
feat: make the example much better
2024-11-19 03:30:17 +01:00
Nick the Sick
165d7c5278
feat(demo): add accessibility demo
2024-11-19 03:30:17 +01:00
Nick Perez
f67b217b30
fix(bubble-menu): avoid bluring if event is on the editor ( #5835 )
2024-11-17 14:52:33 +01:00
bdbch
7eaa34d0d1
Remove tippy.js and replace with Floating UI ( #5398 )
...
* start experimenting with floating-ui
* add options to floating-ui bubble menu plugin & fix smaller issues
* add vue support for new floating-ui
* start experimenting with floating-ui
* adjust floating-menu plugin for floating-ui & update react component
* add vue support for floating-menu with floating-ui
* update tests for new floating-ui integration
* added changeset file
* move floating-ui dependency to peerDeps
* add install notice to changelog
* remove unnecessary code for destroying and removing component element in Vue suggestion.js
* remove unnecessary code for destroying and removing component element in React suggestion.js
* sync package-lock
* widen range for peerDeps again
2024-07-31 03:51:53 +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
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
Mihir Shah
aca6c88f2d
fix: remove blur event listener from tippy element ( #3365 ) ( #3366 )
2022-11-04 17:51:01 +01:00
Dominik
fa96749ce2
fix(extension/bubble-menu): 🐛 fix bubble menu and floating menu being available when editor not editable ( #3195 )
2022-09-14 02:05:36 +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
Himanshu Kapoor
70dc4fc29f
chore: lint fixes
2022-03-31 22:18:40 +02:00
fleonus
285f89b5a9
Allow overriding getReferenceClientRect in floating menu
2022-03-31 22:12:06 +02:00
Philipp Kühn
063ced27ca
fix: maybe hide tippy on blur, fix #1433
2021-12-15 10:12:55 +01:00
Philipp Kühn
1645df9adc
refactoring
2021-12-15 09:06:43 +01:00
Julian Hundeloh
809af3b6c6
fix: show FloatingMenu by default only if focused ( #2275 )
2021-12-15 09:04:41 +01:00
dkrym
d0d0696266
fix: remove composition check for floating menu ( #2137 )
...
remove composing from floating menu
2021-11-11 00:09:22 +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
Kane Cohen
33420f4ae0
fix: Fix "destory" method in view plugins. ( #1882 )
2021-09-22 13:28:52 +02:00
Philipp Kühn
8b545e4ae1
refactoring
2021-09-07 20:55:40 +02:00
Enrique
ca3763d3c2
fix: don’t initialize tippy on requestAnimationFrame to avoid race conditions ( #1820 )
...
Instead of initializting tippy when
the bubble menu and floating menu plugins are initialized,
defer the initialization of tippy to the moment when
the the editor should display the floating or bubble menu
Co-authored-by: Enrique Alcantara <ealcantara@gitlab.com>
2021-09-07 20:46:45 +02:00
Philipp Kühn
70a328bd3d
fix: make shouldShow and pluginKey option for menus, fix #1779
2021-08-23 18:44:40 +02:00
Philipp Kühn
89d26f7cba
fix: rename key to pluginKey for menus
2021-08-13 12:33:06 +02:00
Philipp Kühn
956566eaad
fix: fix some react focus issues ( #1724 ), fix #1716 , fix #1608 , fix #1520
...
* remove async createNodeViews
* focus asynchronously to fix weird bugs in react
2021-08-12 18:03:45 +02:00
Philipp Kühn
9ba61c1582
feat: add key option and shouldShow option to menus ( fix #1480 , fix #1043 , fix #1268 , fix #1503 )
...
* add key option to bubble menu
* ignore react for now
* add shouldShow option to bubble menu extension
* improve types
* remove BubbleMenuPluginKey
* add key and shouldShow option to floating menu extension
* fix: don’t show floating menu within code block
* docs: add new menu options
2021-08-11 14:37:58 +02:00
shadow-light
c531c5a797
Fix name of FloatingMenu
2021-06-08 09:53:05 +10:00
Philipp Kühn
b84a56a84a
fix: improve isActive check for floating menu when using custom doc content, fix #1205
2021-04-23 23:01:53 +02:00
Philipp Kühn
89b72b8608
refactoring: rename posToClientRect to posToDOMRect
2021-04-16 14:44:10 +02:00
Philipp Kühn
9a56f666a1
feat: add tippyOptions prop
2021-04-16 12:42:56 +02:00
Philipp Kühn
398fc7f210
fix: fix tippy for react
2021-04-16 11:34:37 +02:00
Philipp Kühn
3b5746a34c
enable hideOnClick again
2021-04-16 11:14:30 +02:00
Philipp Kühn
54df2ce077
feat: use tippy for floating menu
2021-04-16 11:12:03 +02:00
Philipp Kühn
e25e1ddd27
update menus on resize
2021-04-01 16:22:02 +02:00
Philipp Kühn
c55ebc7ea6
improve default node detection for floating menu
2021-04-01 15:33:37 +02:00
Philipp Kühn
007e6f855b
add basic floating menu
2021-04-01 15:19:31 +02:00