Search Results: wegh edit
- All Results 367
- Guides 135
- Reference 232
- Technical Demos
- Support Center
Tags and Attributes
HTML Editor generates the following HTML tags and attributes: HTML Tags Type Tags Content sectioning <h1> - <h6> Text content <blockquote>... attributes are generated automatically. If you pass custom values such as custom classes, HTML Editor may not properly process these attributes.
Formats
-editor (onInitialized)="onInitialized($event)"> </dx-html-editor> import { DxHtmlEditorModule } from "devextreme-angular"; // ... export class AppComponent { onInitialized (e... function. You cannot register different modules for different HTML Editor instances. If you register a module for one HTML Editor, this module will be registered for all other HTML Editors on the page
Predefined Items
Toolbar items allow users to format the HTML Editor's content and perform actions on it. Predefined toolbar items include: Buttons that apply single-choice formats to the text. Action buttons...", "alignLeft" ] } }) }) Angular HTMLTypeScript <dx-html-editor> <dxo-toolbar> <dxi-item name="bold"/> <dxi-item name="italic"/> <dxi-item
Relocate an Item
", location: "center" }, { name: "background", location: "center" } ] } }); }); Angular HTMLTypeScript <dx-html-editor> <dxo-toolbar> <...; </dxo-toolbar> </dx-html-editor> import { DxHtmlEditorModule } from "devextreme-angular"; // ... export class AppComponent { // ... } @NgModule({ imports
Relocate the Toolbar
The toolbar occupies the top part of the HTML Editor and is rendered inside the UI component's container. To relocate the toolbar, specify a different container for the toolbar. In the following code, the toolbar is placed in a separate <div> under the HTML Editor: jQuery JavaScriptHTML $(function(){ $("#htmlEditorContainer").dxHtmlEditor({ toolbar