Skip to content

Commit 16826fa

Browse files
authored
Correction to the format of default config, specifically the toolbar setting
The existing format of the toolbar config is incorrect. It currently shows as an array or arrays and it should be a json object with an items attribute that is an array of the toolbars.
1 parent 6c96224 commit 16826fa

File tree

1 file changed

+29
-30
lines changed

1 file changed

+29
-30
lines changed

powerapps-docs/maker/model-driven-apps/rich-text-editor-control.md

+29-30
Original file line numberDiff line numberDiff line change
@@ -195,36 +195,35 @@ The following code is an example of a JSON file that contains both [`defaultSupp
195195
"font_defaultLabel": "Segoe UI",
196196
"fontSize_defaultLabel": "9",
197197
"toolbarLocation": "bottom",
198-
"toolbar": [
199-
[ "CopyFormatting" ],
200-
[ "Font" ],
201-
[ "FontSize" ],
202-
[ "Bold" ],
203-
[ "Italic" ],
204-
[ "Underline" ],
205-
[ "BGColor" ],
206-
[ "TextColor" ],
207-
[ "BulletedList" ],
208-
[ "NumberedList" ],
209-
[ "Outdent" ],
210-
[ "Indent" ],
211-
[ "Blockquote" ],
212-
[ "JustifyLeft" ],
213-
[ "JustifyCenter" ],
214-
[ "JustifyRight" ],
215-
[ "Link" ],
216-
[ "Unlink" ],
217-
[ "Subscript" ],
218-
[ "Superscript" ],
219-
[ "Strike" ],
220-
[ "Image" ],
221-
[ "BidiLtr" ],
222-
[ "BidiRtl" ],
223-
[ "Undo" ],
224-
[ "Redo" ],
225-
[ "RemoveFormat" ],
226-
[ "Table" ]
227-
],
198+
"toolbar": [ { "items":[
199+
"CopyFormatting",
200+
"Font",
201+
"FontSize",
202+
"Bold",
203+
"Italic",
204+
"Underline",
205+
"BGColor",
206+
"TextColor",
207+
"BulletedList",
208+
"NumberedList",
209+
"Outdent",
210+
"Indent",
211+
"Blockquote",
212+
"JustifyLeft",
213+
"JustifyCenter",
214+
"JustifyRight",
215+
"Link",
216+
"Unlink",
217+
"Subscript",
218+
"Superscript",
219+
"Strike",
220+
"Image",
221+
"BidiLtr",
222+
"BidiRtl",
223+
"Undo",
224+
"Redo",
225+
"RemoveFormat",
226+
"Table" ] } ],
228227
"plugins": [["button,toolbar,dialogui,dialog,autogrow,notification,clipboard,textmatch,fakeobjects,link,autolink,basicstyles,bidi,blockquote,panelbutton,panel,floatpanel,colorbutton,colordialog,listblock,richcombo,menu,contextmenu,copyformatting,enterkey,entities,popup,find,floatingspace,font,format,htmlwriter,horizontalrule,indent,indentblock,indentlist,justify,lineutils,openlink,list,liststyle,maximize,undo,menubutton,notificationaggregator,xml,ajax,pastetools,pastefromword,pastetext,preview,table,quicktable,removeformat,resize,selectall,showborders,sourcearea,specialchar,stylescombo,tab,tabletools,tableresize,tableselection,widgetselection,widget,wysiwygarea,textwatcher"]],
229228
"extraPlugins": "accessibilityhelp,autogrow,autolink,basicstyles,bidi,blockquote,button,collapser,colorbutton,colordialog,confighelper,contextmenu,copyformatting,dialog,editorplaceholder,filebrowser,filetools,find,floatpanel,font,iframerestrictor,indentblock,justify,notification,panel,panelbutton,pastefromword,quicktable,selectall,stickystyles,superimage,tableresize,tableselection,tabletools,uploadfile,uploadimage,uploadwidget",
230229
"removePlugins": "a11yhelp,codemirror,magicline,scayt,showborders",

0 commit comments

Comments
 (0)