volume_up

A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More

volume_up

A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More

Set TinyMCE css from code

Hi!

Is it possible to set a tiny mce css file from code? Like this:

[UIEditorCssPaths="~/path/to/styles.css"]
public virtual XhtmlString MainBody { get; set; }

Thanks!

#112808
Nov 05, 2014 16:48
Vote:
<p>Hi,</p> <p>You can do it from a typed property setting, please see <a href="/Blogs/Linus-Ekstrom/Dates/2014/10/typed-property-settings/">http://world.episerver.com/Blogs/Linus-Ekstrom/Dates/2014/10/typed-property-settings/</a>.</p> <p></p> <p></p>
#112818
Nov 05, 2014 20:22
<p>Ok thank you.</p> <p>Another question, how do I get rid of those default styles and titles (epi-xxx)? I use a custom css but my styles are appended after all epi styles for table editing, and on some xhtml editors there is a blank title "stilar" and then my "stilar". I think this is not good from the editors stand point, it does not look so good.</p> <p></p>
#112876
Nov 06, 2014 16:12
error This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.