Commit Graph

4565 Commits

Author SHA1 Message Date
Philipp Kühn
5df78b3a59 Merge commit 'pullrequests/robertvanhoesel/tiptap/issue/set-editorprops' 2021-08-09 17:20:21 +02:00
Robert van Hoesel
e6f67caef3
fix: fix updating editorProps via setOptions (#1540), fix #1518 2021-08-09 17:19:50 +02:00
Philipp Kühn
916852fdee docs: fix issue for character count example 2021-08-09 16:37:52 +02:00
Philipp Kühn
2e199e3040 Merge commit 'pullrequests/castroCrea/paolo/insert-content-html-options' 2021-08-09 15:40:56 +02:00
castroCrea
aabdfd6f7d
fix: add CreateNodeFromContentOptions to insertContent (#1678)
*  Add CreateNodeFromContentOptions  to insertContent

* 📝 Add it to the doc
2021-08-09 15:40:17 +02:00
Philipp Kühn
a0444b5ec3 code style 2021-08-09 15:21:44 +02:00
dkrym
60606f99a1
fix: use correct state when doc changed externally (#1646) 2021-08-09 15:20:46 +02:00
dependabot[bot]
b426e8c17a
build(deps): bump actions/setup-node from 2.2.0 to 2.4.0 (#1697)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 2.2.0 to 2.4.0.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v2.2.0...v2.4.0)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-09 14:55:53 +02:00
Philipp Kühn
463b7b1eb3 dependencies: update 2021-08-09 14:54:24 +02:00
Hans Lemuet
0c6b04f5b0
Fix typo (#1693) 2021-08-08 09:16:22 +02:00
Philipp Kühn
6a5871ddba Merge branch 'main' of https://github.com/ueberdosis/tiptap 2021-08-05 12:55:59 +02:00
Philipp Kühn
8fcc80d68e fix: improve export for StarterKitOptions 2021-08-05 12:55:55 +02:00
castroCrea
68fe31b2e4 📝 Add it to the doc 2021-08-04 12:36:12 +02:00
castroCrea
55d0e67422 Add CreateNodeFromContentOptions to insertContent 2021-08-04 12:14:12 +02:00
Joe Vallender
6c08057bb2
fix: Apply the correct regex for code extension in markPasteRule (#1671) 2021-08-02 11:08:03 +02:00
Philipp Kühn
a3381f4992 Publish
- @tiptap/core@2.0.0-beta.93
 - @tiptap/html@2.0.0-beta.92
 - @tiptap/starter-kit@2.0.0-beta.89
2021-07-30 09:38:52 +02:00
Philipp Kühn
c9869c8d30 fix: revert async focus, fix #1658 2021-07-30 09:33:55 +02:00
Philipp Kühn
040a539f0f docs: move figure caption to top 2021-07-29 10:18:17 +02:00
Philipp Kühn
6a458bcebe Publish
- @tiptap/core@2.0.0-beta.92
 - @tiptap/html@2.0.0-beta.91
 - @tiptap/starter-kit@2.0.0-beta.88
2021-07-28 23:44:05 +02:00
Hans Pagel
47d1d3425c
Examples: Syntax highlighting for React (#1583)
* Docs: Syntax highlighting - add react example

* Docs: Clean up syntax highlighting demo, make use of functional component

* fix: focus view asynchronously, fix #1520

Co-authored-by: Sven Adlung <info@svenadlung.de>
Co-authored-by: Philipp Kühn <kontakt@philipp-kuehn.com>
2021-07-28 23:42:11 +02:00
Philipp Kühn
e76f7966b5 Publish
- @tiptap/core@2.0.0-beta.91
 - @tiptap/html@2.0.0-beta.90
 - @tiptap/starter-kit@2.0.0-beta.87
2021-07-28 17:19:41 +02:00
Philipp Kühn
c2ccf68e8b fix: fix a bug in markPasteRule 2021-07-28 17:18:08 +02:00
Philipp Kühn
eb27b1fbb1 Publish
- @tiptap/react@2.0.0-beta.55
 - @tiptap/vue-2@2.0.0-beta.42
 - @tiptap/vue-3@2.0.0-beta.48
2021-07-28 14:52:27 +02:00
Philipp Kühn
6ef931f85d fix another bug for updating node views 2021-07-28 14:51:58 +02:00
Philipp Kühn
d7f6e0ce3f fix: fix updating node views, fix #1656 2021-07-28 14:49:00 +02:00
Philipp Kühn
6f4142eb68 update lock file 2021-07-28 12:06:43 +02:00
Philipp Kühn
c3d04cef60 Publish
- @tiptap/core@2.0.0-beta.90
 - @tiptap/html@2.0.0-beta.89
 - @tiptap/starter-kit@2.0.0-beta.86
2021-07-28 11:30:39 +02:00
Philipp Kühn
a1f1125c1a docs: add buttons for adding and removing generic figures 2021-07-28 11:22:57 +02:00
Philipp Kühn
73f1c50bca feat: add deleteNode command 2021-07-28 11:19:42 +02:00
Philipp Kühn
f25a65fb19 add generic figure experiment 2021-07-28 00:01:30 +02:00
Philipp Kühn
51fef7d49a Publish
- @tiptap/core@2.0.0-beta.89
 - @tiptap/html@2.0.0-beta.88
 - @tiptap/react@2.0.0-beta.54
 - @tiptap/starter-kit@2.0.0-beta.85
 - @tiptap/vue-2@2.0.0-beta.41
 - @tiptap/vue-3@2.0.0-beta.47
2021-07-27 12:28:08 +02:00
Philipp Kühn
d720edbe24
feat!: provide more context to update function of node views, fix #1611
* add more powerful update option to node views

* add object params for all node view option props
2021-07-27 12:26:24 +02:00
Philipp Kühn
651e6911e3 feat: add ignoreMutation option to NodeViewRenderer, fix #1538 2021-07-26 18:44:02 +02:00
Philipp Kühn
03e4e8ea2b Publish
- @tiptap/core@2.0.0-beta.88
 - @tiptap/extension-mention@2.0.0-beta.63
 - @tiptap/extension-text-align@2.0.0-beta.22
 - @tiptap/html@2.0.0-beta.87
 - @tiptap/starter-kit@2.0.0-beta.84
 - @tiptap/suggestion@2.0.0-beta.61
2021-07-26 15:47:40 +02:00
Flávio Carvalho
83a53c16db
fix: Fix multi character suggest (#1620) 2021-07-26 15:39:08 +02:00
Philipp Kühn
45faa1fc7d Merge branch 'main' of https://github.com/ueberdosis/tiptap 2021-07-26 15:36:15 +02:00
Philipp Kühn
4636b1a1a5 fix type for getAttributes 2021-07-26 15:36:12 +02:00
philippkuehn
9caee8bef6 ci: fix code style linting errors 2021-07-26 13:15:16 +00:00
Philipp Kühn
c315935bf9 fix error 2021-07-26 15:14:22 +02:00
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
Arthur McGregor
e367974e30
Change TextAlignOptions to interface (not type) (#1623) 2021-07-26 15:09:08 +02:00
Philipp Kühn
345ea8cf8a Publish
- @tiptap/core@2.0.0-beta.87
 - @tiptap/extension-blockquote@2.0.0-beta.15
 - @tiptap/extension-bold@2.0.0-beta.15
 - @tiptap/extension-bubble-menu@2.0.0-beta.25
 - @tiptap/extension-bullet-list@2.0.0-beta.15
 - @tiptap/extension-character-count@2.0.0-beta.13
 - @tiptap/extension-code-block-lowlight@2.0.0-beta.33
 - @tiptap/extension-code-block@2.0.0-beta.17
 - @tiptap/extension-code@2.0.0-beta.15
 - @tiptap/extension-collaboration-cursor@2.0.0-beta.21
 - @tiptap/extension-collaboration@2.0.0-beta.20
 - @tiptap/extension-document@2.0.0-beta.13
 - @tiptap/extension-dropcursor@2.0.0-beta.18
 - @tiptap/extension-floating-menu@2.0.0-beta.19
 - @tiptap/extension-focus@2.0.0-beta.22
 - @tiptap/extension-font-family@2.0.0-beta.14
 - @tiptap/extension-gapcursor@2.0.0-beta.19
 - @tiptap/extension-hard-break@2.0.0-beta.15
 - @tiptap/extension-heading@2.0.0-beta.15
 - @tiptap/extension-highlight@2.0.0-beta.15
 - @tiptap/extension-history@2.0.0-beta.15
 - @tiptap/extension-horizontal-rule@2.0.0-beta.18
 - @tiptap/extension-image@2.0.0-beta.15
 - @tiptap/extension-italic@2.0.0-beta.15
 - @tiptap/extension-link@2.0.0-beta.19
 - @tiptap/extension-list-item@2.0.0-beta.14
 - @tiptap/extension-mention@2.0.0-beta.62
 - @tiptap/extension-ordered-list@2.0.0-beta.15
 - @tiptap/extension-paragraph@2.0.0-beta.16
 - @tiptap/extension-placeholder@2.0.0-beta.26
 - @tiptap/extension-strike@2.0.0-beta.17
 - @tiptap/extension-subscript@2.0.0-beta.4
 - @tiptap/extension-superscript@2.0.0-beta.4
 - @tiptap/extension-table-cell@2.0.0-beta.14
 - @tiptap/extension-table-header@2.0.0-beta.16
 - @tiptap/extension-table-row@2.0.0-beta.14
 - @tiptap/extension-table@2.0.0-beta.26
 - @tiptap/extension-task-item@2.0.0-beta.17
 - @tiptap/extension-task-list@2.0.0-beta.17
 - @tiptap/extension-text-align@2.0.0-beta.21
 - @tiptap/extension-text-style@2.0.0-beta.17
 - @tiptap/extension-text@2.0.0-beta.13
 - @tiptap/extension-typography@2.0.0-beta.13
 - @tiptap/extension-underline@2.0.0-beta.16
 - @tiptap/html@2.0.0-beta.86
 - @tiptap/react@2.0.0-beta.53
 - @tiptap/starter-kit@2.0.0-beta.83
 - @tiptap/suggestion@2.0.0-beta.60
 - @tiptap/vue-2@2.0.0-beta.40
 - @tiptap/vue-3@2.0.0-beta.46
2021-07-26 11:42:13 +02:00
Philipp Kühn
29e75de786 dependencies: update 2021-07-26 11:35:58 +02:00
Tomas Valenta
49dd5d85d5 Fix typo 2021-07-24 00:17:41 +02:00
Andrew Luca
0eced7b1e6 chore: add repository for all packages.json 2021-07-23 01:13:32 +02:00
Hans Pagel
3fc0081748
Merge pull request #1624 from arthurmcgregor/additional-input-rules-for-typography
Additional input rules for typography
2021-07-22 09:07:15 +02:00
Arthur McGregor
2d1e91a95b
Update docs with additional typography rules 2021-07-22 10:39:48 +12:00
Arthur McGregor
bd38299498
Add additional input rules to typography extension
superscriptTwo
superscriptThree
oneQuarter
threeQuarters
2021-07-22 10:36:08 +12:00
Hans Pagel
572b31ee96
Merge pull request #1492 from sereneinserenade/main
Adding types to Linter and making the structure a bit easier
2021-07-20 13:54:24 +02:00
Hans Pagel
f1695ad3d6
Update linter.md 2021-07-20 13:53:21 +02:00