Joe Vallender
9ffd58cf25
feat: Allow a rule to be skipped from the getAttributes callback in markPasteRule ( #1625 )
...
For example: you are matching URLs with a Regex but want to make additional checks on the match array before deciding if you want to apply the mark or not. Returning null or false won't attempt to apply the mark. Currently the return value of getAttributes is applied unconditionally.
2021-07-26 15:13:05 +02:00
Philipp Kühn
7da647d99f
fix: fix a bug that messed up pasted link attributes, fix #1284
2021-05-07 09:54:40 +02:00
Philipp Kühn
6e87882820
fix bug in markPasteRule, fix #215
2021-03-18 10:54:16 +01:00
Philipp Kühn
7d121eb39a
improve build script
2020-11-10 09:21:47 +01:00
Philipp Kühn
12b783c4d2
formatting
2020-10-28 21:30:50 +01:00
Philipp Kühn
21c82c2cfa
improve eslint config
2020-09-25 13:52:17 +02:00
Philipp Kühn
40b0467650
fix link paste rule
2020-09-24 23:42:04 +02:00
Philipp Kühn
ac33eb483e
fix more linting errors
2020-09-24 00:29:05 +02:00
Philipp Kühn
434d77a664
add verbal expressions
2020-04-02 12:41:52 +02:00
Philipp Kühn
72cd81640e
refactoring
2020-04-02 08:58:28 +02:00
Philipp Kühn
28d5ae094b
add basic inputrules and pasterules
2020-04-02 08:53:59 +02:00