File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -54,11 +54,11 @@ Defines default values of the toolbar selection controls
5454
5555` defaultStyles?: object; `
5656
57- ~~~ jsx {2-12 }
57+ ~~~ jsx {2-5 }
5858var richtext = new dhx.Richtext (" richtext_container" , {
5959 defaultStyles: {
6060 " font-size" : " 14px"
61- " font-family" : " Tahoma"
61+ " font-family" : " Tahoma"
6262 }
6363});
6464~~~
@@ -75,12 +75,11 @@ var defaultStyles = {
7575 " italic" : false ,
7676 " strike" : false ,
7777 " underline" : false ,
78- " style" : " p" ,
79- " blockquote" : false ,
80- " align" : false
78+ " align" : false , // "left" | "center" | "right" | false
8179};
8280~~~
8381
82+ ** Related sample:** [ RichText. Default styles] ( https://snippet.dhtmlx.com/pqqq1e5d )
8483____
8584
8685## ` mode `
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ description: "Get a full picture of the DHTMLX Rich Text Editor versioning: its
66
77## Version 1.2
88
9- Released on June 18 , 2024
9+ Released on June 21 , 2024
1010
1111### New functionality
1212
You can’t perform that action at this time.
0 commit comments