Absolutely! The Umbraco RTE allows you to add styles to the dropdown that appears along the top bar. These styles will apply a class to what ever text is highlighted (selected), and any CSS is picked up and displayed within the RTE.
It is a little out of date, but this wiki article should guide you though the process of adding these:
It's worth noting that any CSS you add to the "TextStyles" stylesheet (in the wiki example) will be pulled through to the RTE only, unless you then include the same stylesheet on your website as well.
Received an error from the server
Failed to retrieve tinymce configuration
Object reference not set to an instance of an object.
Exception Details:
System.NullReferenceException: Object reference not set to an instance of an object.
Stacktrace:
at Umbraco.Web.PropertyEditors.RichTextPreValueController.EnsureInit()
at Umbraco.Web.PropertyEditors.RichTextPreValueController.GetConfiguration()
at lambda_method(Closure , Object , Object[] )
at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.<>c__DisplayClass13.<GetExecutor>b__c(Object instance, Object[] methodParameters)
at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.Execute(Object instance, Object[] arguments)
at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.<>c__DisplayClass5.<ExecuteAsync>b__4()
at System.Threading.Tasks.TaskHelpers.RunSynchronously[TResult](Func`1 func, CancellationToken cancellationToken)
Rich Text Editor
Is there a way to activate text color&size in text editor?
Hi Chris,
Absolutely! The Umbraco RTE allows you to add styles to the dropdown that appears along the top bar. These styles will apply a class to what ever text is highlighted (selected), and any CSS is picked up and displayed within the RTE.
It is a little out of date, but this wiki article should guide you though the process of adding these:
https://our.umbraco.org/wiki/how-tos/customizing-the-wysiwyg-rich-text-editor-tinymce/add-styles-to-the-drop-down-menu-for-editors-to-use
It's worth noting that any CSS you add to the "TextStyles" stylesheet (in the wiki example) will be pulled through to the RTE only, unless you then include the same stylesheet on your website as well.
Hope that helps! Ed
Hi Chris
try this
Please refer below link:-
https://our.umbraco.org/wiki/recommendations/recommended-reading-for-content-editors/adding-styles-to-the-tinymce
Hope this help
Regards, Samira
Hi,
I am using version 7.2.8 and its not working
Hi Chris,
Please check in RTE datatype tinyMCE.css under style section is checked.
hope this help
Regards,
Samira
Tiny.MCE.css not show in my RTE datatype.
is working on a reply...