minor improvements

This commit is contained in:
Hans Pagel
2020-09-21 16:59:28 +02:00
parent 26af779d22
commit ece9d0a554
16 changed files with 53 additions and 38 deletions

View File

@@ -1,7 +1,7 @@
# Bold
Use this extension to render text in **bold**. If you pass `<strong>`, `<b>` tags, or text with inline `style` attributes setting the `font-weight` CSS rule in the editors initial content, they all will be rendered accordingly.
Type `**two asterisks**` or `__two underlines__` and it will be magically transformed to **bold** text while you type.
Type `**two asterisks**` or `__two underlines__` and it will magically transform to **bold** text while you type.
::: warning Restrictions
The extension will generate the corresponding `<strong>` HTML tags when reading contents of the `Editor` instance. All text marked bold, regardless of the method will be normalized to `<strong>` HTML tags.
@@ -21,7 +21,7 @@ The extension will generate the corresponding `<strong>` HTML tags when reading
* Windows & Linux: `Control` + `B`
* macOS: `Command` + `B`
## Source Code
## Source code
[packages/extension-bold/](https://github.com/ueberdosis/tiptap-next/blob/main/packages/extension-bold/)
## Usage