- Namespace:
- Redakt.ContentManagement.Annotations
- Assembly:
- Redakt.ContentManagement.dll
Sets inline styles for the style dropdown of the rich text (HTML) editor. Has no effect on other editors. Add styles in the format "{displayLabel}|{cssStyle}|{className}". The class name is optional. If you set a class name, the css style is only used within the editor but not applied to the HTML content. If you omit a class name, the css style is used both for the editor and the HTML content. Example: "Extra padding|padding:1rem|p-md-3".
[AttributeUsage]
public sealed class RichTextEditorStylesAttribute: IContentPropertyAttribute
- Inheritance:
- ObjectAttributeRichTextEditorStylesAttribute
- Implements:
- IContentPropertyAttribute
Constructors
Methods