Commit Graph

465 Commits

Author SHA1 Message Date
Hans Pagel
6b606f376f add more to the upgrade guide 2020-09-15 17:26:27 +02:00
Hans Pagel
2f9ee7fbbd add the text extension page 2020-09-15 17:05:32 +02:00
Hans Pagel
f8487c95a7 add bullet list markdown shortcut tests 2020-09-15 16:59:27 +02:00
Hans Pagel
a560a1bbb4 remove global window.editor instance from demos 2020-09-15 16:52:19 +02:00
Hans Pagel
f7f3d29fe5 add a demo to the bullet list extension page 2020-09-15 16:50:54 +02:00
Hans Pagel
a917264057 update the heading page 2020-09-15 16:44:20 +02:00
Philipp Kühn
00506e359b defaults to force: true for type and click 2020-09-15 09:03:08 +02:00
Philipp Kühn
71cc626b0a refactoring 2020-09-15 00:07:00 +02:00
Philipp Kühn
61ca7d4377 remove focus from tests 2020-09-14 23:39:27 +02:00
Philipp Kühn
7afcb0250e fix shortcuts 2020-09-11 23:17:40 +02:00
Philipp Kühn
f5dca8defb refactoring 2020-09-11 22:26:53 +02:00
Philipp Kühn
cc9425fc07 fix tests again 2020-09-11 22:25:05 +02:00
Philipp Kühn
23ce5bc044 fix shortcuts 2020-09-11 22:02:51 +02:00
Philipp Kühn
66841f2fe2 replace all contains 2020-09-11 21:56:08 +02:00
Philipp Kühn
46cee66db9 update some tests 2020-09-11 21:04:55 +02:00
Philipp Kühn
8df2a5d25e add done again 2020-09-11 18:52:18 +02:00
Philipp Kühn
cc0695feb6 formatting 2020-09-11 18:45:16 +02:00
Philipp Kühn
7350f52392 fix crapcode 2020-09-11 18:35:25 +02:00
Hans Pagel
3b67e58941 Merge branch 'main' of github.com:ueberdosis/tiptap-next into main
# Conflicts:
#	docs/src/demos/Examples/MarkdownShortcuts/index.spec.js
#	docs/src/demos/Extensions/Blockquote/index.spec.js
#	docs/src/demos/Extensions/Bold/index.spec.js
#	docs/src/demos/Extensions/Code/index.spec.js
#	docs/src/demos/Extensions/CodeBlock/index.spec.js
#	docs/src/demos/Extensions/HardBreak/index.spec.js
#	docs/src/demos/Extensions/Heading/index.spec.js
#	docs/src/demos/Extensions/History/index.spec.js
#	docs/src/demos/Extensions/HorizontalRule/index.spec.js
#	docs/src/demos/Extensions/Italic/index.spec.js
#	docs/src/demos/Extensions/Paragraph/index.spec.js
#	docs/src/demos/Extensions/Strike/index.spec.js
#	docs/src/demos/Extensions/Underline/index.spec.js
2020-09-11 18:20:56 +02:00
Philipp Kühn
b13d3ddb0b Merge branch 'main' of https://github.com/ueberdosis/tiptap-next into main
# Conflicts:
#	docs/src/demos/Examples/MarkdownShortcuts/index.spec.js
#	docs/src/demos/Extensions/Blockquote/index.spec.js
#	docs/src/demos/Extensions/Bold/index.spec.js
#	docs/src/demos/Extensions/Code/index.spec.js
#	docs/src/demos/Extensions/CodeBlock/index.spec.js
#	docs/src/demos/Extensions/HardBreak/index.spec.js
#	docs/src/demos/Extensions/Heading/index.spec.js
#	docs/src/demos/Extensions/History/index.spec.js
#	docs/src/demos/Extensions/HorizontalRule/index.spec.js
#	docs/src/demos/Extensions/Italic/index.spec.js
#	docs/src/demos/Extensions/Paragraph/index.spec.js
#	docs/src/demos/Extensions/Strike/index.spec.js
#	docs/src/demos/Extensions/Underline/index.spec.js
2020-09-11 18:11:56 +02:00
Philipp Kühn
808b806db8 store editor in dom element 2020-09-11 18:06:13 +02:00
Hans Pagel
a3466f1add add before method again 2020-09-11 17:51:57 +02:00
Hans Pagel
464d3665db fix broken test 2020-09-11 17:44:28 +02:00
Hans Pagel
dc83868b53 get rid of before method 2020-09-11 17:42:41 +02:00
Hans Pagel
7aa1d33cc4 add async to missing tests 2020-09-11 17:32:03 +02:00
Hans Pagel
7e3d6fbe83 delete crap code test 2020-09-11 16:41:20 +02:00
Hans Pagel
c4d02c291c async beforeeach 2020-09-11 16:24:37 +02:00
Hans Pagel
1b414ab33c really fix tests 2020-09-11 15:57:33 +02:00
Hans Pagel
2e67d64d68 add best practices links to the sidebar 2020-09-11 14:53:53 +02:00
Hans Pagel
c08b35e352 fix tests 2020-09-11 12:57:16 +02:00
Hans Pagel
61208efe3f add heading tests 2020-09-11 12:56:58 +02:00
Hans Pagel
4129d13f19 add tests to the paragraph extension 2020-09-11 12:12:15 +02:00
Hans Pagel
0104bf6b34 try to fix the tests 2020-09-11 11:27:53 +02:00
Hans Pagel
9dcee8fffc add more content to the heading 2020-09-10 21:13:18 +02:00
Hans Pagel
af66dc6c81 add margin to the hr 2020-09-10 17:33:34 +02:00
Hans Pagel
b3297f05c2 update the code block page, add tests 2020-09-10 17:29:34 +02:00
Hans Pagel
d1ea1da0cc add more content to the heading page 2020-09-10 17:10:20 +02:00
Hans Pagel
89b5f04aac rename the code block extension, add content to the code block extension 2020-09-10 16:54:53 +02:00
Hans Pagel
692994167e add code blocks to the navigation again 2020-09-10 16:37:17 +02:00
Hans Pagel
e99ecb9595 fix code blocks 2020-09-10 15:03:48 +02:00
Hans Pagel
cd116b7d1a wording 2020-09-10 14:52:19 +02:00
Hans Pagel
7c069e3eb6 add new extensions to the basic example 2020-09-10 14:51:07 +02:00
Hans Pagel
e1d9ecaf91 clean up the horizontal rule page 2020-09-10 14:40:49 +02:00
Hans Pagel
6f898a004b add a demo and tests to the horizontal rule extension 2020-09-10 12:55:15 +02:00
Hans Pagel
860b6385ad add an interactive demo and tests to the underline extension 2020-09-10 12:43:40 +02:00
Hans Pagel
12116a65ec add markdown shortcut tests to the bold extension 2020-09-10 12:40:55 +02:00
Hans Pagel
6f6ca74fcb Merge branch 'main' of github.com:ueberdosis/tiptap-next into main 2020-09-10 12:31:35 +02:00
Hans Pagel
2d4f8cd3a6 switch to single tilde syntax 2020-09-10 12:31:26 +02:00
Philipp Kühn
49593ac4fc Merge branch 'main' of https://github.com/ueberdosis/tiptap-next into main 2020-09-10 12:28:18 +02:00
Philipp Kühn
667d735a12 add horizontal rule extension 2020-09-10 12:28:14 +02:00
Hans Pagel
d043efe923 test the strikes extension, enable the interactive demo 2020-09-10 12:27:27 +02:00
Hans Pagel
3377f0af48 fix typo 2020-09-10 12:13:56 +02:00
Hans Pagel
dd7310da6b Merge branch 'main' of github.com:ueberdosis/tiptap-next into main 2020-09-10 12:11:45 +02:00
Hans Pagel
c2570d6adc improve the hardbreak demo and add tests 2020-09-10 12:11:42 +02:00
Philipp Kühn
cf3bcf3093 Merge branch 'main' of https://github.com/ueberdosis/tiptap-next into main 2020-09-10 12:10:33 +02:00
Philipp Kühn
d18b349b6c add blcokquote to default extensions 2020-09-10 12:10:24 +02:00
Hans Pagel
72d262c9fc Merge branch 'main' of github.com:ueberdosis/tiptap-next into main 2020-09-10 11:58:08 +02:00
Hans Pagel
13ea910326 enable hardbreak demo 2020-09-10 11:58:00 +02:00
Philipp Kühn
7f0a734edc
Merge pull request #5 from ueberdosis/feature/blockquote-extension
Add Blockquote extension (with documentation, demo and tests)
2020-09-10 11:56:46 +02:00
Hans Pagel
d8e251a3ab Merge branch 'main' of github.com:ueberdosis/tiptap-next into main 2020-09-10 11:53:08 +02:00
Hans Pagel
868ffb4d66 add the strike extension documentation 2020-09-10 11:53:03 +02:00
Hans Pagel
236ad6e21a add the hardBreak command 2020-09-10 11:52:20 +02:00
Philipp Kühn
709c10697c Merge branch 'main' of https://github.com/ueberdosis/tiptap-next into main 2020-09-10 11:43:19 +02:00
Philipp Kühn
bf63f6ba4c update starter kits 2020-09-10 11:43:09 +02:00
Hans Pagel
0a8e15623b add the documentation for the hardbreak extension 2020-09-10 11:35:56 +02:00
Hans Pagel
e92da4c966
Merge branch 'main' into feature/blockquote-extension 2020-09-10 11:25:25 +02:00
Hans Pagel
3e85f4f217 rename keybindings to keyboard shortcuts 2020-09-10 11:24:33 +02:00
Hans Pagel
19a5e7eab5 clean up the markdown shortcuts tests 2020-09-10 11:23:54 +02:00
Hans Pagel
405a380fb6 fix a typo 2020-09-10 11:22:26 +02:00
Hans Pagel
8ce9a440a7 don’t check the platform in cypress, use the modifier alias only 2020-09-10 11:21:51 +02:00
Hans Pagel
889bf4f4ff add blockquote extension with documentation, demo and tests 2020-09-10 11:19:49 +02:00
Hans Pagel
18e7124c68 add markdown shortcuts for bold to the documentation 2020-09-10 11:06:26 +02:00
Hans Pagel
bdb3d2d30a format tables 2020-09-10 10:21:24 +02:00
Philipp Kühn
9acbcf11bc fix getSchema 2020-09-09 21:18:04 +02:00
Philipp Kühn
cbe5ce4673 Merge branch 'main' into feature/generate-html-from-json-document
# Conflicts:
#	packages/core/src/ExtensionManager.ts
2020-09-09 20:50:53 +02:00
Philipp Kühn
fab2fce671 remove test file 2020-09-09 18:47:37 +02:00
Philipp Kühn
0361da1b71 Merge branch 'main' of https://github.com/ueberdosis/tiptap-next into feature/replace-classes
# Conflicts:
#	docs/src/demos/Examples/Focus/index.vue
#	docs/src/docPages/api/extensions/placeholder.md
#	docs/src/docPages/general/roadmap.md
2020-09-09 18:16:51 +02:00
Hans Pagel
9819e44fe6 update text for the paragraph extension 2020-09-09 16:16:57 +02:00
Hans Pagel
6b561a951b add contributing and sponsoring to the sitemap 2020-09-09 16:15:36 +02:00
Hans Pagel
9244c3e912 add the custom class option to all extensions that generate HTML tags 2020-09-09 16:15:22 +02:00
Hans Pagel
0efab21338 write about the paragraph extension 2020-09-09 16:12:39 +02:00
Hans Pagel
ec81bb9bc0 add old content and a warning to the events page 2020-09-09 15:59:34 +02:00
Hans Pagel
cc7a448474 write about the Document extension 2020-09-09 15:58:06 +02:00
Hans Pagel
bc36e377b3 add content to the upgrade guide 2020-09-09 15:57:30 +02:00
Hans Pagel
94ca32478a improve focus example 2020-09-09 15:25:00 +02:00
Hans Pagel
29e0fc6bae hide all empty examples 2020-09-09 15:24:50 +02:00
Hans Pagel
267ec93dd2 move general to overview namespace, transfer roadmap to github 2020-09-09 15:15:20 +02:00
Hans Pagel
78189b146b update installation guide 2020-09-09 14:47:35 +02:00
Hans Pagel
b11bb39dee skip failing test for now 2020-09-09 13:25:16 +02:00
Philipp Kühn
a812dd47be fix extension manager 2020-09-09 10:58:10 +02:00
Hans Pagel
c595129bec skip failing test for now 2020-09-08 22:52:31 +02:00
Hans Pagel
c2666da3c0
Merge branch 'main' into feature/generate-html-from-json-document 2020-09-08 22:45:59 +02:00
Hans Pagel
0469793054 skip read only tests 2020-09-08 17:39:24 +02:00
Hans Pagel
56c7f991f7 rename tests 2020-09-08 17:39:24 +02:00
Hans Pagel
79f45da4ba show only extensions that we build for v2-beta 2020-09-08 17:39:24 +02:00
Hans Pagel
9ce234f18f skip failing tests 2020-09-08 17:39:24 +02:00
Hans Pagel
cb8ab47ee8 add tasks to the roadmap 2020-09-08 17:39:24 +02:00
Hans Pagel
cb01e2e9b7 remove wrong content from placeholder extension 2020-09-08 17:39:24 +02:00
Hans Pagel
4226946c51 fix typo 2020-09-08 17:39:24 +02:00
Hans Pagel
c065edd405 add keyboard shortcut tests to the history extension 2020-09-08 17:39:24 +02:00
Hans Pagel
d9eaedd194 refactor platform related shortcuts 2020-09-08 17:39:24 +02:00
Hans Pagel
050677d544 add shortcuts to bold and italic tests 2020-09-08 17:39:24 +02:00
Hans Pagel
3f0eac922d update dependencies 2020-09-08 17:39:24 +02:00
Hans Pagel
c10c0c8e8d skip read only tests 2020-09-08 14:30:28 +02:00
Hans Pagel
d76b091db8 rename tests 2020-09-08 14:29:27 +02:00
Hans Pagel
d03f68a3d1 show only extensions that we build for v2-beta 2020-09-08 14:26:17 +02:00
Hans Pagel
225c3b0e3c skip failing tests 2020-09-08 14:25:58 +02:00
Hans Pagel
d6bfd96eb3 add tasks to the roadmap 2020-09-08 14:20:17 +02:00
Hans Pagel
7a219f4dde remove wrong content from placeholder extension 2020-09-08 14:20:10 +02:00
Hans Pagel
edcb1b86bf fix typo 2020-09-08 14:19:53 +02:00
Philipp Kühn
56093e3fd0 Merge branch 'main' of https://github.com/ueberdosis/tiptap-next into feature/replace-classes 2020-09-08 09:01:29 +02:00
Hans Pagel
970138d036 add keyboard shortcut tests to the history extension 2020-09-04 14:42:30 +02:00
Hans Pagel
93428ba850 refactor platform related shortcuts 2020-09-04 14:37:26 +02:00
Hans Pagel
763ab7cf84 add shortcuts to bold and italic tests 2020-09-04 14:31:11 +02:00
Hans Pagel
d68cb8e9d2 update dependencies 2020-09-04 14:24:27 +02:00
Hans Pagel
18ef2b90d5 add a warning 2020-09-04 13:30:09 +02:00
Hans Pagel
73bd3907d9 remove ideas from PR branch 2020-09-04 13:09:45 +02:00
Hans Pagel
c36ddaf8fc improve the documentation 2020-09-04 12:35:31 +02:00
Hans Pagel
7525ff5726 improve the generateHtml example 2020-09-04 12:02:37 +02:00
Hans Pagel
fb3c009797 add more text to the getSchema documentation 2020-09-04 12:02:37 +02:00
Hans Pagel
a165d4d05c add another idea to the roadmap 2020-09-04 12:02:37 +02:00
Hans Pagel
313628dd05 add another idea to the roadmap 2020-09-04 11:59:58 +02:00
Hans Pagel
e94714a345 add getSchema & getHtml utility functions to generate HTML from a ProseMirror/tiptap document, without an Editor instance 2020-09-04 11:23:04 +02:00
Hans Pagel
7988be813b add a ton of shortcuts to the roadmap 2020-09-04 11:21:10 +02:00
Hans Pagel
491e7acd45 add new roadmap entry 2020-09-03 15:12:10 +02:00
Hans Pagel
440b105f80 clean up 2020-09-03 15:12:04 +02:00
Hans Pagel
5c470caefc update the history extension page, add a demo with tests 2020-09-02 15:48:02 +02:00
Hans Pagel
819052912d add code extension demo with tests 2020-09-02 15:26:46 +02:00
Hans Pagel
bdbf6e7f61 add test to the italic extension demo 2020-09-02 15:20:46 +02:00
Hans Pagel
6190c3ee10 add missing pages 2020-09-02 15:20:35 +02:00
Hans Pagel
b394f8619d add tests to the bold extension demo 2020-09-02 15:20:23 +02:00
Hans Pagel
62cee751a1 add prop to show/hide source code for demos 2020-09-01 17:08:49 +02:00
Hans Pagel
40350b4ef8 fix typo 2020-09-01 17:06:50 +02:00
Hans Pagel
b1cca2286a add more content to the introduction package 2020-09-01 17:06:43 +02:00
Hans Pagel
3aa8a71312 fix active state of homepage 2020-09-01 17:06:34 +02:00
Hans Pagel
efdbfb5809 add an example for markdown shortcuts, including (breaking) tests 2020-09-01 16:30:25 +02:00
Hans Pagel
715daf96dc fix tests 2020-09-01 15:45:05 +02:00
Hans Pagel
70fb03cb0d add more entries to the roadmap 2020-09-01 15:34:15 +02:00
Hans Pagel
ccdb0c7f89 add a history example with tests 2020-08-31 18:11:17 +02:00
Hans Pagel
ae7c5fa834 add a draft state to the sidebar 2020-08-31 17:50:13 +02:00
Hans Pagel
f8e907783d add content to the extensions overview, improve the basic example 2020-08-31 17:34:09 +02:00
Hans Pagel
30483257d1 add task 2020-08-31 14:56:51 +02:00
Hans Pagel
674d66d82f add buttons for all default extensions to the basic example 2020-08-31 14:56:28 +02:00
Hans Pagel
50dd973d4a improve demo component 2020-08-31 14:48:00 +02:00
Hans Pagel
69a56e5473 add minimalist example 2020-08-31 14:47:53 +02:00
Hans Pagel
c80e5eb38f add roadmap 2020-08-31 14:32:35 +02:00
Hans Pagel
8db321fd05 clean up 2020-08-28 13:24:34 +02:00
Hans Pagel
a3b5731a06 show subnavigation only when parent is active 2020-08-28 13:22:30 +02:00
Hans Pagel
20237f353b move everything around 2020-08-28 13:20:49 +02:00
Hans Pagel
19d89a2ee9 fix gridsome plugin dependency 2020-08-27 13:46:56 +02:00
Hans Pagel
880bf974b7 add simpleanalytics cookie free tracking 2020-08-27 13:43:45 +02:00
Philipp Kühn
07079082c4 test class replacement 2020-08-26 23:45:08 +02:00
Philipp Kühn
71c3927b28 add focus extension 2020-08-21 17:32:47 +02:00
Philipp Kühn
0513fd6ce2 fix error when starting docs with prebuilt packages 2020-08-20 23:36:43 +02:00
Philipp Kühn
735639bad1 update dependencies 2020-08-20 23:31:17 +02:00
Philipp Kühn
1a1ceae608 Merge branch 'main' of https://github.com/ueberdosis/tiptap-next into main
# Conflicts:
#	yarn.lock
2020-08-20 23:27:24 +02:00
Philipp Kühn
4125c2dd17 fix package build 2020-08-20 23:25:55 +02:00
Hans Pagel
0de9357fbb Merge branch 'main' of github.com:ueberdosis/tiptap-next into main 2020-08-20 22:25:28 +02:00
Hans Pagel
be01538b25 prefix demo names with demo 2020-08-20 22:25:23 +02:00
Hans Pagel
64f1e568ee
Update extensions overview 2020-08-20 22:20:56 +02:00
Hans Pagel
4a6e75a292 improve sidebar 2020-08-20 21:30:05 +02:00
Hans Pagel
871919b18a remove index.ts from source code links 2020-08-20 21:26:25 +02:00
Hans Pagel
ecd95b8c71 improve extensions documentation, add italic documentation 2020-08-20 21:25:15 +02:00
Hans Pagel
672fe2beab add name to demo 2020-08-20 21:14:44 +02:00
Hans Pagel
7dbe4f5e42 text 2020-08-20 18:15:35 +02:00
Hans Pagel
98d69258c1 add link to the source code 2020-08-20 18:14:41 +02:00
Hans Pagel
161d110c3a make the bold extension example interactive 2020-08-20 18:11:35 +02:00
Hans Pagel
86ca94a61a add code highlighting demo component to page 2020-08-20 18:03:52 +02:00
Hans Pagel
c6dcacdc19 add tests to export html and json 2020-08-20 18:00:35 +02:00
Hans Pagel
f421285eb3 remove headline from export example 2020-08-20 17:57:09 +02:00
Hans Pagel
e2642526a0 add export html or json example 2020-08-20 17:53:28 +02:00
Hans Pagel
915834a799 add new color 2020-08-20 17:38:55 +02:00
Hans Pagel
16da584ebd show error message when demo is missing 2020-08-20 17:38:47 +02:00
Hans Pagel
4e2cfd1f49 add a link break before edit page on github link 2020-08-20 17:32:17 +02:00
Hans Pagel
854a0382b6 move examples to own directory, add demo component to all example pages 2020-08-20 17:31:27 +02:00
Hans Pagel
f13212b362 add link to github to demo component 2020-08-20 17:31:06 +02:00
Hans Pagel
0a01068db2 whitespace 2020-08-20 17:29:44 +02:00
Hans Pagel
ec2a6e86b3 improve extensions documentation 2020-08-20 15:44:08 +02:00
Hans Pagel
cbe8e1f357 improve the extensions documentation 2020-08-20 15:33:16 +02:00
Hans Pagel
f8a5079b2b remove status emojis, minor improvements 2020-08-20 15:22:13 +02:00
Hans Pagel
b42b8eb0a7 fix broken links 2020-08-20 15:03:28 +02:00
Hans Pagel
ba17ef6011 fix read only test 2020-08-19 18:20:03 +02:00
Hans Pagel
1873cd89fc naming 2020-08-19 18:17:44 +02:00
Hans Pagel
d9cb39324e fix test name 2020-08-19 18:17:17 +02:00
Hans Pagel
6f0ddebe04 add (broken) focus example 2020-08-19 18:12:36 +02:00
Hans Pagel
0a6b2e0239 add titles to all examples 2020-08-19 18:01:28 +02:00
Hans Pagel
af84e6f8fe fix heighlighted lines 2020-08-19 17:59:33 +02:00
Hans Pagel
bfc5512d84 fall back to default value in data 2020-08-19 17:58:44 +02:00
Hans Pagel
99f3f1889b minor improvements to the read-only example 2020-08-19 17:57:55 +02:00
Hans Pagel
399be73e7b add read-only test 2020-08-19 17:55:08 +02:00
Hans Pagel
108a2b8a11 change siteName to “tiptap 2” 2020-08-19 11:22:54 +02:00
Hans Pagel
1d4013cdae add empty example pages 2020-08-19 11:22:20 +02:00
Hans Pagel
12d24fb35c add stylesheet to the read only example 2020-08-18 22:16:00 +02:00
Hans Pagel
a25cb32d65 add read only example 2020-08-18 22:13:24 +02:00
Hans Pagel
83b7841ebb filter for allowed file types in the demo component 2020-08-18 22:03:34 +02:00
Hans Pagel
4d297e9116 group all content files by section 2020-08-18 21:47:04 +02:00
Hans Pagel
c182842681 move all extensions to separate pages 2020-08-18 21:39:41 +02:00
Philipp Kühn
c7d2389d2e improve docs 2020-08-18 21:04:17 +02:00
Philipp Kühn
5c975c0c41 fix 2020-08-18 20:53:26 +02:00
Philipp Kühn
de622ce468 replace hint component 2020-08-18 20:51:01 +02:00