Commit Graph

460 Commits

Author SHA1 Message Date
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
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
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
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
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
2d4f8cd3a6 switch to single tilde syntax 2020-09-10 12:31:26 +02:00
Hans Pagel
d043efe923 test the strikes extension, enable the interactive demo 2020-09-10 12:27:27 +02:00
Hans Pagel
c2570d6adc improve the hardbreak demo and add tests 2020-09-10 12:11:42 +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
868ffb4d66 add the strike extension documentation 2020-09-10 11:53:03 +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
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
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
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
0efab21338 write about the paragraph extension 2020-09-09 16:12:39 +02:00
Hans Pagel
cc7a448474 write about the Document extension 2020-09-09 15:58:06 +02:00
Hans Pagel
94ca32478a improve focus example 2020-09-09 15:25:00 +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
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
9ce234f18f skip failing tests 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
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
225c3b0e3c skip failing tests 2020-09-08 14:25:58 +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
7525ff5726 improve the generateHtml example 2020-09-04 12:02:37 +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
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
b394f8619d add tests to the bold extension demo 2020-09-02 15:20:23 +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
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
674d66d82f add buttons for all default extensions to the basic example 2020-08-31 14:56:28 +02:00
Hans Pagel
69a56e5473 add minimalist example 2020-08-31 14:47:53 +02:00
Hans Pagel
20237f353b move everything around 2020-08-28 13:20:49 +02:00
Philipp Kühn
71c3927b28 add focus extension 2020-08-21 17:32:47 +02:00
Hans Pagel
ecd95b8c71 improve extensions documentation, add italic documentation 2020-08-20 21:25:15 +02:00
Hans Pagel
161d110c3a make the bold extension example interactive 2020-08-20 18:11:35 +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
854a0382b6 move examples to own directory, add demo component to all example pages 2020-08-20 17:31:27 +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
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
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
4d297e9116 group all content files by section 2020-08-18 21:47:04 +02:00
Philipp Kühn
e471c7efd2 export extended editor for vue 2020-08-18 10:06:08 +02:00
Hans Pagel
fcbc925d9a move test to example 2020-08-14 17:05:00 +02:00
Philipp Kühn
241060f827 add re-exports to packages 2020-08-13 14:14:28 +02:00
Hans Pagel
25fb966c7c update getting started 2020-08-13 09:42:37 +02:00
Hans Pagel
d0d9995fd0 update getting started page 2020-08-13 09:37:51 +02:00
Hans Pagel
b380a3d4bb add content 2020-08-12 11:50:54 +02:00
Hans Pagel
8b17869879 add more text to the configuration page 2020-08-12 11:16:29 +02:00
Philipp Kühn
2c223d8707 fix focus in demo 2020-08-12 09:48:52 +02:00
Philipp Kühn
eeac0fce37 add highlight option for demos 2020-08-12 09:37:15 +02:00
Hans Pagel
517b5605ea add more content to the configuration pge 2020-08-11 17:55:12 +02:00
Hans Pagel
df387f01b7 add a complex configuration example 2020-08-11 17:34:44 +02:00
Hans Pagel
4ed6646294 add a few basics 2020-08-11 17:26:10 +02:00
Hans Pagel
8d0a734bf4 add basic vue setup example 2020-08-11 16:59:17 +02:00
Philipp Kühn
bda4bbcd6b fix react setup 2020-04-28 23:25:56 +02:00
Sven Adlung
9e1d8f1943 Refactor React demo 2020-04-28 22:41:08 +02:00
Philipp Kühn
30d53d33a5 move componentrenderer 2020-04-25 22:40:38 +02:00
Philipp Kühn
6b5b30f3fc add heading command 2020-04-21 22:36:31 +02:00
Philipp Kühn
a057755e42 add basic heading extension 2020-04-21 22:16:26 +02:00
Philipp Kühn
7d5b8fd4dd something 2020-04-18 23:53:05 +02:00
Philipp Kühn
b1ca679a25 improve nav 2020-04-18 12:48:20 +02:00
Philipp Kühn
3c0727fd59 move docs to own folder 2020-04-17 12:51:49 +02:00