Commit Graph

4870 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
e9e50a2e75 refactoring 2019-05-03 18:05:05 +02:00
Philipp Kühn
b5a5472171 refactoring 2019-05-03 17:50:30 +02:00
Philipp Kühn
ee12e0577d add something broken 2019-05-03 16:05:30 +02:00
Philipp Kühn
5433870183 add something broken 2019-05-03 14:04:37 +02:00
Philipp Kühn
5b530d5d0c add oldstate to update event 2019-05-03 14:04:14 +02:00
Christoph Flathmann
e9ac6f0d0b
Add issue templates 2019-05-03 13:18:46 +02:00
Philipp Kühn
83075f28e6 Merge branch 'master' into feature/collab-plugin
# Conflicts:
#	packages/tiptap/src/Editor.js
#	yarn.lock
2019-05-03 10:56:52 +02:00
Chrissi2812
e768dc24c8
fixes #232: Clicking toolbar TodoItem lifts TodoItem 2019-05-03 10:31:27 +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
1b5b60c595
simplify placeholder example 2019-04-25 17:29:52 +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
9f38f36447
add option to disable input/pasterules 2019-04-24 18:38:50 +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