-
Notifications
You must be signed in to change notification settings - Fork 813
15: Rich Text Editor Tiptap #6498
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 18 commits
0547d46
d2966df
4f01b16
bbe4eb0
29e936d
e320f49
dcf77a5
0ac13b4
c067307
11cc5e8
7e41a2b
14704cc
2e79569
7e97533
abec32b
c3fed30
6a9cb65
1a3f811
1c8d0b4
b2d0265
0259246
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -0,0 +1,126 @@ | ||||||
| # Rich Text Editor TinyMce | ||||||
|
|
||||||
| `Schema Alias: Umbraco.RichText` | ||||||
| `UI Alias: Umb.PropertyEditorUi.TinyMCE` | ||||||
|
|
||||||
| `Returns: HTML` | ||||||
|
|
||||||
| {% hint style="warning" %} | ||||||
| This article is a work in progress and may undergo further revisions, updates, or amendments. The information contained herein is subject to change without notice. | ||||||
| {% endhint %} | ||||||
|
|
||||||
| The Rich Text Editor (RTE) is based on [tinymce](https://www.tinymce.com/) and is highly configurable. Depending on the configuration, it will give your content editors more flexibility when working with content that should be more than only plain text. | ||||||
|
||||||
| The Rich Text Editor (RTE) is based on [tinymce](https://www.tinymce.com/) and is highly configurable. Depending on the configuration, it will give your content editors more flexibility when working with content that should be more than only plain text. | |
| The Rich Text Editor (RTE) is highly configurable and based on [TinyMCE](https://www.tinymce.com/). Depending on the configuration, it will give your content editors more flexibility when working with content that should be more than plain text. |
sofietoft marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| **Are you using custom configuration or plugins with TinyMCE?** | |
| **Are you using custom configurations or plugins with TinyMCE?** |
sofietoft marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| Use Blocks to define specific parts which can be added as part of the markup of the Rich Text Editor. | |
| Use Blocks to define specific parts that can be added as part of the markup of the Rich Text Editor. |
sofietoft marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
sofietoft marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,69 @@ | ||
| # Configuration | ||
|
|
||
| {% embed url="<https://www.youtube.com/watch?v=QRIWz9SotY4>" %} | ||
| Rich Text Editor default implementation | ||
| {% endembed %} | ||
|
|
||
| In this article you can learn about the different ways you can configure the Rich Text Editor (RTE). | ||
sofietoft marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| ## Toolbar | ||
|
|
||
| You have full control over which options should be available on the RTE. | ||
|
|
||
|  | ||
sofietoft marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| In the examble above, all 34 options have been enabled. The options include copy/paste buttons, font styles like bold and italics, bullet lists and options to embed videos and insert images. | ||
sofietoft marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| ## Stylesheets | ||
|
|
||
| It is possible to define specific styles that can be used when editing content using the RTE. You can use as many of these styles with the RTE as you want. | ||
|
|
||
| The RTE styles are defined in CSS files which can be created in the **Settings** section. Read the [RTE Styles](rte-styles.md) article to learn more about this feature. | ||
|
|
||
| ## Dimensions | ||
|
|
||
| Define `height` and `width` of the editor displayed in the content section. | ||
sofietoft marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| ## Maximum size for inserted images | ||
|
|
||
| Define the maximum size for images added through the Rich Text Editor. | ||
|
|
||
| If inserted images are larger than the dimensions defined here, the images will be resized automatically. | ||
|
|
||
| ## Mode | ||
|
|
||
| The Rich Text Editor comes in two different modes: Classic and Inline. | ||
|
|
||
| ### Classic | ||
|
|
||
| The default mode which displays the toolbar at the top. | ||
|
|
||
|  | ||
|
|
||
| ### Inline | ||
|
|
||
| In this mode the toolbar is hidden, and only shows up when content in the editor is highlighted. | ||
sofietoft marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
|  | ||
|
|
||
| ## Blocks | ||
|
|
||
| Blocks can be added as elements in the Rich Text Editor. Configuration and rendering of Blocks is described in the [Blocks in Rich Text Editor](blocks.md) article. | ||
sofietoft marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| ## Overlay Size | ||
|
|
||
| Select the width of the link picker overlay. The overlay size comes in three sizes: Small, Medium, and Large. | ||
|
|
||
| ## Hide Label | ||
|
|
||
| When this option is checked the label and description for the RTE property will be hidden. | ||
|
|
||
| ## Ignore User Start Nodes | ||
|
|
||
| Some of the backoffice users might be restricted to a specific part of the content tree. When the "Ignore User Start Nodes" is checked, users can pick any piece of content, when adding internal links. | ||
sofietoft marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| ## Image Upload Folder | ||
|
|
||
| Images added through the RTE is by default added to the root of the Media library. | ||
sofietoft marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| Sometimes you might want to add the images to a specific folder. This folder can be configured using the "Image Upload Folder" setting. | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
| # Rich Text Editor Styles | ||
| # Styles | ||
|
|
||
| It is possible to define specific styles and fonts for the Rich Text Editor (RTE). Once you have defined the styles, and enabled them on the RTE Data Type, the styles can be accessed directly in the Content section. | ||
|
|
||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This image is not rendering in the preview. |
||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.