Commit Graph

652 Commits

Author SHA1 Message Date
Marius Tolzmann
9787b876fe fix endPosition in getMarkRange
getMarkRange() will not return the actual end position of the current mark.

might reintroduce bug from #156 (i cannot reproduce #156 so i cannot check)

fixes in this commit:

A) work around a possible bug in indexAfter()?:
   $pos.indexAfter() seems to return the same index as $pos.index() at some point
   -> fixed by increasing startIndex by 1 instead of using indexAfter()

B) endPos needs to be initialized with initial startPos + nodeSize and not
   with resulting startPos:
   -> moved initialization right after setting startPos
2019-05-03 19:08:50 +02:00
Marius Tolzmann
d057d5d7d9 Revert "fix a bug for getting mark range, fix #156"
This reverts commit 0cf905abb9.
2019-05-03 19:06:19 +02:00
Marius Tolzmann
392f8a20b3 Revert "fix eslint warning"
This reverts commit c4e0bbeaf4.
2019-05-03 19:06:18 +02:00
Philipp Kühn
0e59e0cc0c Publish
- tiptap-commands@1.8.0
 - tiptap-extensions@1.17.0
 - tiptap-utils@1.4.0
 - tiptap@1.17.0
2019-04-30 20:16:04 +02:00
Philipp Kühn
d0fc404139 fix output names 2019-04-30 18:35:33 +02:00
Philipp Kühn
7128dd7bf3 replace uglify with terser 2019-04-30 18:32:12 +02:00
Philipp Kühn
5e6d60c3fe update dependencies 2019-04-30 16:19:38 +02:00
Philipp Kühn
0d69570576 code style 2019-04-30 16:19:28 +02:00
Philipp Kühn
bbab998ae8 update dev dependencies 2019-04-30 16:16:57 +02:00
Philipp Kühn
0e6efc3889
Merge pull request #228 from Chrissi2812/menu-bubble-position
Fix Menu bubble position
2019-04-30 16:07:20 +02:00
Philipp Kühn
d1a1dec59a
Merge pull request #276 from Chrissi2812/issue-275
fix #275: link click handler no longer open on selection click
2019-04-30 15:58:10 +02:00
Chrissi2812
44dc5337dc
fix #275: link click handler no longer open on selection click 2019-04-29 15:24:03 +02:00
Chrissi2812
2f0acf2f91
keep menuBubble in bounding box of editor 2019-04-25 16:27:22 +02:00
Hans Pagel
8842ec42ae
Merge pull request #273 from Chrissi2812/add-doc-link
add link to documentation
2019-04-24 20:20:33 +02:00
Chrissi2812
cf7a442edd
add link to documentation 2019-04-24 18:33:59 +02:00
Philipp Kühn
cf7ff907a1 Publish
- tiptap-extensions@1.16.2
 - tiptap@1.16.2
2019-04-19 15:26:26 +02:00
Philipp Kühn
c2fc6ce545 remove escape key listener to select parent node 2019-04-19 15:25:44 +02:00
Philipp Kühn
36f39f1d7a Publish
- tiptap-extensions@1.16.1
 - tiptap@1.16.1
2019-04-19 12:19:40 +02:00
Philipp Kühn
ef4f236310 update dev dependencies 2019-04-19 12:19:06 +02:00
Philipp Kühn
576c0b2910 update dependencies 2019-04-19 12:16:45 +02:00
Philipp Kühn
4d1594de1a save editor dom element before destroy 2019-04-19 12:14:00 +02:00
Philipp Kühn
3e1dbf7d9e Publish
- tiptap-extensions@1.16.0
 - tiptap@1.16.0
2019-04-17 23:34:10 +02:00
Philipp Kühn
cd0d00d604 open links by default 2019-04-17 23:33:10 +02:00
Philipp Kühn
05650b66d2 add position option to focus method 2019-04-17 23:29:45 +02:00
Philipp Kühn
6bd44103fb Publish
- tiptap-commands@1.7.1
 - tiptap-extensions@1.15.1
 - tiptap@1.15.1
2019-04-17 23:02:31 +02:00
Philipp Kühn
2d1722e3eb fix bug 2019-04-17 23:01:47 +02:00
Philipp Kühn
a6d874fbd6
Merge pull request #267 from mayacoda/master
Fix README.md documentation
2019-04-16 10:46:00 +02:00
Maya Nedeljkovich
3f0a6860b3
Fix README.md documentation 2019-04-16 10:29:03 +02:00
Philipp Kühn
561d717ff8 Publish
- tiptap-extensions@1.15.0
 - tiptap@1.15.0
2019-04-15 17:24:20 +02:00
Philipp Kühn
6e21b43c82 fix missing update event, fix #260 2019-04-15 17:22:06 +02:00
Philipp Kühn
ae292856ed change audit-ci to critical 2019-04-11 20:36:03 +02:00
Philipp Kühn
d8f62f010a fix tippy for suggestions 2019-04-11 20:13:52 +02:00
Philipp Kühn
03cb2a1cce update dependencies 2019-04-11 20:04:35 +02:00
Philipp Kühn
3e1f187a8c
Merge pull request #243 from erickwilder/fix-audit-vulnerabilities
fix(deps): remove high severity vulnerability and add extra travis check for PRs
2019-04-11 19:57:22 +02:00
Philipp Kühn
5264eed028
Merge pull request #257 from jasonvarga/master
Allow extensions to override stopEvent
2019-04-11 19:55:16 +02:00
Philipp Kühn
7a17b56468
Merge pull request #254 from mayacoda/master
allow parseOptions to be passed to setContent and Editor constructor
2019-04-11 19:51:39 +02:00
Jason Varga
fb8a9dd764 Allow extensions to override stopEvent 2019-04-09 12:54:37 -04:00
Maya Nedeljkovich
b3f8f1b558 allow parseOptions to be passed to setContent and Editor constructor 2019-04-08 12:39:31 +02:00
Erick Wilder
18ba26dd47 fix(deps): remove high severity vulnerability and add extra travis check on PRS
The only exception is `webpack-svgstore-plugin` that still points to some older package versions
with `low` severity vulnerabilities and apparently the repo is not active that [the actual fix](https://github.com/mrsum/webpack-svgstore-plugin/pull/172)
could be merged. Because of that I'm limiting the scope to just `high` severity issues.

Note: I decided to include `audit-ci` because `yarn` does not provide (yet) a way to filter
violations by severity level.

fix(deps): upgrade packages so that `yarn lint` works with the current babel-eslint
2019-03-31 10:51:57 +02:00
Hans Pagel
24f61e02be
add Erick Wilder to the contributors list 🎉 2019-03-26 19:34:44 +01:00
Chrissi2812
e441041860
fix travis-ci: copied textRange function from prosemirror-view 2019-03-07 18:28:27 +01:00
Chrissi2812
8ddc0c016a
add note why we had to use our own cordsAtPos implementation 2019-03-07 18:15:45 +01:00
Chrissi2812
f490ca1469
fix menububble position 2019-03-07 18:13:19 +01:00
Philipp Kühn
93ceec111d Publish
- tiptap-commands@1.7.0
 - tiptap-extensions@1.14.0
 - tiptap-utils@1.3.0
 - tiptap@1.14.0
2019-03-06 07:10:25 +01:00
Philipp Kühn
a12c79e5e9 update prosemirror dependencies 2019-03-06 07:09:15 +01:00
Philipp Kühn
e4e2178067 update dev dependencies 2019-03-06 07:05:36 +01:00
Philipp Kühn
d411863bbd
Merge pull request #213 from MatheusRich/add-support-to-history-custom-settings
Add support to history custom settings
2019-03-06 06:50:13 +01:00
Philipp Kühn
bafa4a62b1
Merge pull request #210 from Chrissi2812/reactive-plugin-options
Reactive extension options
2019-03-06 06:48:42 +01:00
Philipp Kühn
575b082c4e
Merge pull request #206 from Chrissi2812/fix-link-example
Fix link example
2019-03-06 06:47:21 +01:00
Matheus Richard
0b83723a6b add support to history custom settings 2019-03-04 18:37:18 -03:00