Now from Umbraco - settings - datatypes - richtext editor, add the new properties, and do the same to the richtext editor property from its Document type
The following looks to be how to configure the TinyMce editor and plugins/commands:
"umbracoRichTextEditor": {
"properties": {
"Commands": {
"description": "Commands to add to the TinyMCE Richtext editor",
"type": "array",
"items": {
"$ref": "#/definitions/umbracoRichTextEditorCommands"
}
},
"Plugins": {
"description": "An array of TinyMCE Plugins to load such as 'paste', 'table'",
"type": [
"string"
]
},
"CustomConfig": {
"description": "Custom configuration for TinyMCE and its plugins",
"type": "object"
},
"ValidElements": {
"description": "A CSV string of valid HTML elements in the richtext editor. Ex: iframe[*],button[class|title]",
"type": "string"
},
"InvalidElements": {
"description": "A CSV string of invalid HTML elements in the richtext editor. Ex: font",
"type": "string"
}
}
},
"umbracoRichTextEditorCommands": {
"properties": {
"Name": {
"description": "Friendly name of Richtext Editor Command",
"type": "string"
},
"Alias": {
"description": "Alias of the Richtext Editor Command",
"type": "string"
},
"Mode": {
"description": "Set how the Richtext Editor Command can be used. Such as when a selction is made",
"enum": [
"Insert",
"Selection",
"All"
]
}
}
},
I'm facing issue with multi language website.
Secondary lang website created from Settings > Languages and added the domain into Culture and Hostnames.
Secondary lang website is not working showing 404 error.
Could you plz assist on this.
How to add color and font size features to Richtext Editor - Umbraco8
Hi,
Is it possible to add color picker and font size to Richtext Editor on Umbraco 8 ?
If yes, please tell me how.
Thanks
OK,
Once the tinyMceConfig.config file has changed a little bit, I have done some changes on the commands code, as per the plugins available in :
Text Color Plugin which provides specific And also colorpicker which enables users to pick any color they want
Fullpage which provides multiple features such as font size and font family
Follow the below steps to add those features is :
This is the best! you are a saint!
Thx a million you are the best
Where do we find the tinyMceConfig.config file in Umbraco 9 beta version
HI Anant
It should all be moved into the appsettings.json configuration file for the application.
Warren has put together a video that explains a bit about it:
https://www.youtube.com/watch?v=rpUg-oySw8g
and from the schema definition that he talks about: (which I think is here: https://github.com/SchemaStore/schemastore/blob/master/src/schemas/json/appsettings.json)
The following looks to be how to configure the TinyMce editor and plugins/commands:
regards
Marc
Dear Saif,
I'm facing issue with multi language website. Secondary lang website created from Settings > Languages and added the domain into Culture and Hostnames. Secondary lang website is not working showing 404 error. Could you plz assist on this.
is working on a reply...