Commit Graph

413 Commits

Author SHA1 Message Date
Philipp Kühn
89d26f7cba fix: rename key to pluginKey for menus 2021-08-13 12:33:06 +02:00
Philipp Kühn
812c49bcb1 add trademark sign to docs and tests 2021-08-12 14:44:12 +02:00
Philipp Kühn
9ba61c1582 feat: add key option and shouldShow option to menus (fix #1480, fix #1043, fix #1268, fix #1503)
* add key option to bubble menu

* ignore react for now

* add shouldShow option to bubble menu extension

* improve types

* remove BubbleMenuPluginKey

* add key and shouldShow option to floating menu extension

* fix: don’t show floating menu within code block

* docs: add new menu options
2021-08-11 14:37:58 +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
73f1c50bca feat: add deleteNode command 2021-07-28 11:19:42 +02:00
Arthur McGregor
2d1e91a95b Update docs with additional typography rules 2021-07-22 10:39:48 +12:00
William Park
3987e05764 Doc fix: Remove braces from isEmpty & isEditable
Hi! I've updated the docs to make it more clear that `editor.isEmpty` and `editor.isEditable` are bools rather than functions that need called. 

This is a quick fix and I'd recommend these maybe be moved out of the "methods" section of the docs, but as of right now there's no obvious section to move them to, and I don't want to make assumptions about what these should be called.
2021-07-15 19:55:53 +02:00
Hans Pagel
d52af5b71e docs: add keyboard shortcuts for Russian layouts to the docs 2021-07-14 23:51:30 +02:00
Hans Pagel
2ebed3054f docs: update link demo, fix #1564 2021-07-10 23:56:29 +02:00
Hans Pagel
9c64432fc8 Update focus.md 2021-06-29 22:12:51 +02:00
Phill Duffy
9abf46b371 Update introduction.md
Registeres to Registers
2021-06-24 22:44:53 +02:00
Tazio
6faf2feec4 VueRenderer documentation with version 3 2021-06-22 22:26:29 +02:00
Hans Pagel
b6e276f12a docs: describe selectAll 2021-06-22 21:35:39 +02:00
Hans Pagel
b226f77754 docs: update event page 2021-06-22 21:33:05 +02:00
Hans Pagel
50a793cd43 docs: update content 2021-06-22 21:28:20 +02:00
Carlo Beltrame
f94c61f77a Fix typo in gapcursor docs 2021-06-21 12:27:12 +02:00
Hans Pagel
ea9aabe1e8 Update document.md 2021-06-19 10:26:50 +02:00
Philipp Kühn
b4e41afd17 fix: remove default types for textAlign extension, fix #1430
There are no default types for TextAlign extension anymore. You have to configure by yourself. Usually something like:

```js
TextAlign.configure({
  types: ['heading', 'paragraph'],
})
```
2021-06-18 12:33:18 +02:00
shadow-light
f130f004fb Correct default for dropcursor color in docs 2021-06-16 16:19:53 +02:00
Philipp Kühn
3b78af44a0 feat: add renderLabel option to mention extension, see #1322 2021-06-14 16:40:17 +02:00
Philipp Kühn
dee90ff3cd docs: fix task list examples, fix #1417 2021-06-14 15:27:38 +02:00
Hans Pagel
2502932fa0 document keyboard shortcuts 2021-06-09 11:57:54 +02:00
Hans Pagel
3f57a13d19 feature: add subscript and superscript extensions, docs and tests 2021-06-08 14:52:38 +02:00
Philipp Kühn
3e6d3dca1f docs: update content 2021-06-04 22:58:34 +02:00
Philipp Kühn
517ecc577b docs: disable some ligatures for typography docs, fix #1412 2021-06-04 09:56:32 +02:00
Philipp Kühn
36dad2bbae feat: add setMeta command 2021-06-02 10:50:10 +02:00
Hans Pagel
ee9ff28d31 docs: update content 2021-05-28 11:45:52 +02:00
Hans Pagel
5858871ca8 docs: update content 2021-05-27 22:19:11 +02:00
Hans Pagel
98b0e3fe5e docs: add content for the focus and setTextSelection command 2021-05-27 21:37:47 +02:00
Hans Pagel
fd6f3fed4c docs: update content 2021-05-27 10:53:34 +02:00
Philipp Kühn
ff7dd9b919 feat: add support for checking for attributes in extendMarkRange 2021-05-17 13:00:54 +02:00
Philipp Kühn
072905cb95 feat: add editor.getAttributes, deprecate editor.getNodeAttributes and editor.getMarkAttributes 2021-05-07 11:10:18 +02:00
Philipp Kühn
b0755cbad6 Merge pull request #1273 from ueberdosis/feature/generate-json-from-html
New Feature: Generate JSON from HTML
2021-05-07 10:37:17 +02:00
Philipp Kühn
00d8958b72 docs: update content 2021-05-06 18:41:22 +02:00
Hans Pagel
a9c0bf5982 add a generateJSON utility to the HTML package 2021-05-05 23:10:45 +02:00
Hans Pagel
7feb19eb72 feature: add generateJSON utility function to generate JSON from a HTML string 2021-05-05 21:24:24 +02:00
Philipp Kühn
0030f083b0 docs: update content 2021-05-05 19:42:47 +02:00
Philipp Kühn
9320eaf05f Merge branch 'main' into feature/remove-replace-commands 2021-05-05 18:37:10 +02:00
Philipp Kühn
e2756aab5f docs: update content 2021-05-05 14:19:24 +02:00
Duncan Krebbers
b606575884 HorizontalRule is included in defaultExtensions
Set 'default extension' for horizontalRule to true in api-nodes documentation.
2021-05-05 13:38:54 +02:00
Philipp Kühn
9e9401e68b feat: add linkOnPaste option for adding a link to the current selection if the pasted content only contains an url, fix #1210 2021-05-05 09:33:52 +02:00
Danny Feliz
196eb8622e Fix typo (#1262) 2021-05-05 07:44:18 +02:00
Hans Pagel
19f61fda1a docs: update content 2021-05-04 23:59:34 +02:00
Hans Pagel
0c06ece8e9 docs: update content 2021-05-04 23:26:07 +02:00
Philipp Kühn
6ba076cd42 Merge pull request #1217 from swanson/patch-4
Typo fix
2021-05-03 09:12:57 +02:00
Hans Pagel
a645a84729 docs: update content 2021-04-30 19:42:44 +02:00
Philipp Kühn
811bf693eb feat: add setNodeSelection and setTextSelection commands 2021-04-27 11:41:24 +02:00
matt swanson
fe55d111e9 Clarify table header documentation 2021-04-25 00:29:05 +02:00
matt swanson
277c18811d Typo 2021-04-24 11:51:54 -04:00
Hans Pagel
9f9c21356b fix broken links 2021-04-21 15:41:27 +02:00