Dean Leigh
07/25/2024, 2:09 PM"UmbracoCmsCoreConfigurationModelsRichTextEditorSettings": {
"type": "object",
"properties": {
"Commands": {
"type": "array",
"description": "HTML RichText Editor TinyMCE Commands.\n ",
"items": {
"$ref": "#/definitions/UmbracoCmsCoreConfigurationModelsRichTextEditorCommand"
},
"default": [ "blockquote" ] // Add "blockquote" to the array
},
But it gets wiped out on build?huwred
07/25/2024, 2:28 PM"RichTextEditor": {
"Commands": [
{
"Alias": "blockquote",
"Name": "Quote",
"Mode": "Selection"
}
],
Dean Leigh
07/25/2024, 2:31 PMDean Leigh
07/25/2024, 3:16 PM"Umbraco": {
"CMS": {
...
"RichTextEditor": {
"Commands": [
{
"Alias": "blockquote",
"Name": "Quote",
"Mode": "Selection"
}
]
},
...
},
...
}
huwred
07/25/2024, 3:28 PMDean Leigh
07/25/2024, 3:31 PMDean Leigh
07/26/2024, 8:08 AM"CMS":
and now it works!
Who knows.
"Umbraco": {
"CMS": {
"RichTextEditor": {
"Commands": [
{
"Alias": "blockquote",
"Name": "Quote",
"Mode": "Selection"
}
]
},
huwred
07/26/2024, 4:00 PM"Commands": [
{
"Alias": "codesample",
"Name": "Code Sample",
"Mode": "Insert"
}
],
"Plugins": [
"codesample"
],
huwred
07/26/2024, 4:00 PMRachel D
07/26/2024, 5:45 PMhuwred
07/26/2024, 6:03 PMRachel D
07/26/2024, 7:05 PMhuwred
07/26/2024, 7:21 PM{
"name": "My TinyMCE Plugin",
"version": "1.0.0",
"extensions": [
{
"type": "tinyMcePlugin",
"alias": "mytinymceplugin",
"name": "My TinyMCE Plugin",
"meta": {
"config": {
"plugins": [
"codesample"
]
},
"toolbar": [
{
"alias": "codesample",
"label": "Code sample",
"icon": "code-sample"
}
]
}
}
]
}