Commit Graph

5659 Commits

Author SHA1 Message Date
Philipp Kühn
4ecd41b922 fix lint error 2021-09-09 23:56:17 +02:00
Philipp Kühn
fe6a3e7491
feat: add getText() and generateText() methods (fix #1428) (#1875)
* move getTextBetween method

* add getText method

* refactoring

* refactoring

* refactoring

* move renderText to schema, add generateText method

* add GenerateText demo

* docs: update

* remove demo from html page
2021-09-09 23:51:05 +02:00
Philipp Kühn
42e8755d87 Publish
- @tiptap/core@2.0.0-beta.104
 - @tiptap/extension-code-block-lowlight@2.0.0-beta.37
 - @tiptap/extension-code-block@2.0.0-beta.18
 - @tiptap/extension-color@2.0.0-beta.3
 - @tiptap/extension-font-family@2.0.0-beta.15
 - @tiptap/extension-highlight@2.0.0-beta.16
 - @tiptap/extension-link@2.0.0-beta.20
 - @tiptap/extension-mention@2.0.0-beta.72
 - @tiptap/extension-ordered-list@2.0.0-beta.16
 - @tiptap/extension-placeholder@2.0.0-beta.30
 - @tiptap/extension-table-cell@2.0.0-beta.15
 - @tiptap/extension-table-header@2.0.0-beta.17
 - @tiptap/extension-task-item@2.0.0-beta.18
 - @tiptap/extension-text-align@2.0.0-beta.23
 - @tiptap/html@2.0.0-beta.103
 - @tiptap/starter-kit@2.0.0-beta.103
2021-09-08 23:56:15 +02:00
Philipp Kühn
8a3b47a529 feat: parseHTML for attributes should return the value instead of an object now, fix #1863 2021-09-08 23:53:44 +02:00
Philipp Kühn
d3285e9308 refactoring 2021-09-08 12:04:02 +02:00
Philipp Kühn
a5dca087ee fix calculating mark range for unsetMark command 2021-09-08 12:02:43 +02:00
Philipp Kühn
472f2139c5 fix: parse correct language for code blocks with multiple classes (see #1845) 2021-09-08 11:36:05 +02:00
Gregory Cadars
99ea9c87da
docs: Horizontal rule demo: add selected style (#1848) 2021-09-08 09:48:33 +02:00
Nicholas Bush
1799b907ec
feat: add includeChildren option to placeholder extension (#1416) 2021-09-08 09:38:57 +02:00
Philipp Kühn
14e458ea7d
feat: add extendEmptyMarkRange option to mark commands (#1859) 2021-09-08 09:32:22 +02:00
Philipp Kühn
b95507797d Publish
- @tiptap/react@2.0.0-beta.66
2021-09-07 23:27:11 +02:00
Philipp Kühn
707ba29fa5 docs: use functional component for mention list 2021-09-07 23:22:11 +02:00
Philipp Kühn
b06a1f4364 refactoring 2021-09-07 23:20:46 +02:00
castroCrea
d1f2ad293f
feat: add support for forwardRef component in reactRenderer (#1690, fix #1040) 2021-09-07 23:13:39 +02:00
Hans Pagel
e1b1905d6d
Update alpine.md 2021-09-07 22:50:22 +02:00
Philipp Kühn
9e8eabe3f6 Publish
- @tiptap/extension-bubble-menu@2.0.0-beta.33
 - @tiptap/extension-floating-menu@2.0.0-beta.27
 - @tiptap/react@2.0.0-beta.65
 - @tiptap/vue-2@2.0.0-beta.50
 - @tiptap/vue-3@2.0.0-beta.58
2021-09-07 20:57:12 +02:00
Philipp Kühn
8b545e4ae1 refactoring 2021-09-07 20:55:40 +02:00
Enrique
ca3763d3c2
fix: don’t initialize tippy on requestAnimationFrame to avoid race conditions (#1820)
Instead of initializting tippy when
the bubble menu and floating menu plugins are initialized,
defer the initialization of tippy to the moment when
the the editor should display the floating or bubble menu

Co-authored-by: Enrique Alcantara <ealcantara@gitlab.com>
2021-09-07 20:46:45 +02:00
Lia Va
67ce72a9ee
docs: change this.value to value in the vue examples with custom v-model (#1813) 2021-09-07 11:23:43 +02:00
Philipp Kühn
b386728f35 Publish
- @tiptap/core@2.0.0-beta.103
 - @tiptap/extension-bubble-menu@2.0.0-beta.32
 - @tiptap/extension-code-block-lowlight@2.0.0-beta.36
 - @tiptap/extension-floating-menu@2.0.0-beta.26
 - @tiptap/extension-focus@2.0.0-beta.25
 - @tiptap/extension-hard-break@2.0.0-beta.16
 - @tiptap/extension-mention@2.0.0-beta.71
 - @tiptap/extension-placeholder@2.0.0-beta.29
 - @tiptap/extension-table@2.0.0-beta.30
 - @tiptap/html@2.0.0-beta.102
 - @tiptap/react@2.0.0-beta.64
 - @tiptap/starter-kit@2.0.0-beta.102
 - @tiptap/suggestion@2.0.0-beta.69
 - @tiptap/vue-2@2.0.0-beta.49
 - @tiptap/vue-3@2.0.0-beta.57
2021-09-06 22:56:16 +02:00
Philipp Kühn
7fefd4c488 fix a type bug for now 2021-09-06 22:54:59 +02:00
Philipp Kühn
8d15436c28 dependencies: update 2021-09-06 22:43:40 +02:00
Philipp Kühn
65e1a404e5 refactoring 2021-09-06 22:33:16 +02:00
Jakob Košir
4dd0d6d4dc
feat: allow triggering suggestions without prefix space (#1826, fix #1384) 2021-09-06 22:25:41 +02:00
Carlo Beltrame
a03aa2c232 Add missing comma in example 2021-09-06 21:43:25 +02:00
Philipp Kühn
787d7848cd fix: render line break in text/plain format for hard breaks, fix #1842 2021-09-06 19:05:01 +02:00
hanspagel
73a278a5d3 docs: update menu page 2021-08-30 23:55:43 +02:00
hanspagel
7bf44a146a Merge branch 'main' of https://github.com/ueberdosis/tiptap.git 2021-08-30 23:46:01 +02:00
Hans Pagel
7c9c268087 docs: reformat the typography table 2021-08-30 18:02:41 +02:00
Hans Pagel
d12379f72a project: rewrite lock file 2021-08-30 18:01:25 +02:00
Hans Pagel
acaae09162 docs: add unique id extension 2021-08-30 18:01:17 +02:00
hanspagel
f9f6306180 docs: fix typo 2021-08-27 23:49:22 +02:00
hanspagel
0977621148 docs: minor text updates 2021-08-27 23:47:51 +02:00
hanspagel
195d79c9bb docs: a few minor tweaks to the installation guide 2021-08-27 23:25:25 +02:00
Hans Pagel
998e71b4e7 Merge branch 'main' of github.com:ueberdosis/tiptap 2021-08-27 12:31:31 +02:00
Hans Pagel
b85d555b57 remove mention extension from starter kit list, fix #1809 2021-08-27 12:31:19 +02:00
Philipp Kühn
e0d7b01b1c docs: improve types 2021-08-26 23:40:31 +02:00
Philipp Kühn
afd021fffa fix a bug 2021-08-26 23:28:52 +02:00
Philipp Kühn
8670891ae8 add missing dep 2021-08-26 23:12:20 +02:00
Philipp Kühn
4492d069bb improve demo styling 2021-08-26 23:03:31 +02:00
Philipp Kühn
6e71c08595 Publish
- @tiptap/core@2.0.0-beta.102
 - @tiptap/html@2.0.0-beta.101
 - @tiptap/starter-kit@2.0.0-beta.101
2021-08-26 22:33:34 +02:00
Philipp Kühn
3a0693869d fix: fix focus on iOS, fix #1806 2021-08-26 22:32:32 +02:00
Hans Pagel
83e2d4d3e2 docs: update jobs 2021-08-26 21:05:33 +02:00
Hans Pagel
c66679bb8b docs: fix list of starter kit extensions, fix #1803 2021-08-26 20:57:47 +02:00
Hans Pagel
f44128180a ci: add deployment workflow 2021-08-26 20:53:16 +02:00
Philipp Kühn
2407732df4 change demo styling 2021-08-26 18:28:40 +02:00
Philipp Kühn
02ec031ca0 add loader to demos 2021-08-26 18:15:31 +02:00
Philipp Kühn
acdd8332bd fix test setup 2021-08-26 17:36:20 +02:00
Philipp Kühn
1322f12028 add @cypress/vite-dev-server 2021-08-26 16:49:08 +02:00
Philipp Kühn
629b2c4713 Merge branch 'docs/vite-demos' 2021-08-26 16:23:33 +02:00