@@ -170,25 +170,25 @@ Here is an example for Tiptap which represents the default configuration:
170170 # TipTap configuration
171171 DEFAULT_EDITOR .configuration = {
172172 " inlineStyles" : [ # Styles menu, by default contains some rarer styles
173- { name: ' Small' , element: ' small' },
174- { name: ' Kbd' , element: ' kbd' },
175- { name: ' Var' , element: ' var' },
176- { name: ' Samp' , element: ' samp' },
173+ { " name" : ' Small' , " element" : ' small' },
174+ { " name" : ' Kbd' , " element" : ' kbd' },
175+ { " name" : ' Var' , " element" : ' var' },
176+ { " name" : ' Samp' , " element" : ' samp' },
177177 ],
178178 " blockStyles" : [],
179179 # Block styles menu, e.g., for paragraphs, etc.; empty by default
180180 # Example entry: [{"name": "Lead", "element": "div", "attributes": {"class": "lead"}},]
181181 " textColors" : { # Colors offered for the text color menu - the keys are CSS classes
182- ' text-primary' : {name: " Primary" },
183- ' text-secondary' : {name: " Secondary" },
184- ' text-success' : {name: " Success" },
185- ' text-danger' : {name: " Danger" },
186- ' text-warning' : {name: " Warning" },
187- ' text-info' : {name: " Info" },
188- ' text-light' : {name: " Light" },
189- ' text-dark' : {name: " Dark" },
190- ' text-body' : {name: " Body" },
191- ' text-muted' : {name: " Muted" },
182+ ' text-primary' : {" name" : " Primary" },
183+ ' text-secondary' : {" name" : " Secondary" },
184+ ' text-success' : {" name" : " Success" },
185+ ' text-danger' : {" name" : " Danger" },
186+ ' text-warning' : {" name" : " Warning" },
187+ ' text-info' : {" name" : " Info" },
188+ ' text-light' : {" name" : " Light" },
189+ ' text-dark' : {" name" : " Dark" },
190+ ' text-body' : {" name" : " Body" },
191+ ' text-muted' : {" name" : " Muted" },
192192 },
193193 " tableClasses" : " table" , # Classes added to new(!) tables
194194 }
0 commit comments