Commit Graph

21 Commits

Author SHA1 Message Date
Patrick Baber
614fc8082c
feat: add tiptap class
* update docs
* update demos
2023-05-25 13:45:06 +02:00
Dominik
e7d7d49637
fix(extension-link): fix link not being kept when pasting url with link (#3975)
* fix(extension-link): fix llinks not being kept when pasted text includes url

* fix(extension-link): fix links not being linked correctly on the correct pos

* fix(link): fix pasting behavior and move all to one plugin

* fix(link): dont do custom behavior if no links were pasted

* fix(link): copied text link should be kept

* fix(link): fix autolink overriding pasted links

* fix(link): fix links not pasting the correct link on selected text
2023-04-26 14:17:59 +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
Philipp Kühn
ed21bfc422 demos: remove content of index.html files 2021-12-17 14:02:22 +01:00
Philipp Kühn
3d68981b47
feat: Add support for autolink (#2226)
* wip

* WIP

* add autolink implementation

* refactoring

* set keepOnSplit to false

* refactoring

* improve changed ranges detection

* move some helpers into core

Co-authored-by: Philipp Kühn <philippkuehn@MacBook-Pro-von-Philipp.local>
2021-12-03 08:53:58 +01:00
svenadlung
0ad3c48435 Add Link demo for React 2021-11-16 17:56:24 +01:00
svenadlung
c6071d5ab6 Add Underline demo for React 2021-11-16 17:47:55 +01:00
svenadlung
9bfeb70848 Add TextStyle demo for React 2021-11-16 17:47:47 +01:00
svenadlung
6b31c9c378 Add Subscript demo for React 2021-11-16 17:46:23 +01:00
svenadlung
61603c8323 Add Superscript demo for React 2021-11-16 17:46:15 +01:00
svenadlung
6ccbf8c7cb Add Strike demo for React 2021-11-16 17:19:35 +01:00
svenadlung
3eca6a1987 Add Italic demo for React 2021-11-16 17:19:27 +01:00
svenadlung
2bb4edd533 Add Highlight demo for React 2021-11-16 16:24:35 +01:00
svenadlung
c8e1fcbf6b Add Code demo for React 2021-11-16 16:14:37 +01:00
svenadlung
2eb9cc568e Add Bold demo for React 2021-11-16 16:10:54 +01:00
Hans Pagel
4b1848917d docs: update mark examples 2021-10-19 20:59:51 +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
Hans Pagel
b901669803 docs: improve the link mark example, fix #1277 2021-09-16 20:34:21 +02:00
Philipp Kühn
2d129459ca fix tests 2021-08-26 14:07:37 +02:00
Philipp Kühn
e0016c40e9 migrate beforeDestroy to beforeUnmount 2021-08-25 18:36:11 +02:00
Philipp Kühn
502b533f60 add mark demos 2021-08-25 18:07:36 +02:00