1

I want to load some custom css files classes in TinyMCE editor's styles dropdown, how one can do that specially through ASP.NET? is there any feature available from which i can pass on the path of my css files which are on a specific path at runtime? and TinyMCE editor load its classes in its Styles dropdown menu?

1
  • ok, but which one of my questions actually answered? :) Commented Jul 7, 2010 at 10:46

1 Answer 1

1

While I am not familiar with ASP myself. I have done something similar using PHP in the past.

Use ASP to load the css file you want, in the head of your html

<link rel="stylesheet" type="text/css" href="<?php echo $pathtocss; ?>/tinymce.css" />

Then use the theme_advanced_styles option to the classes you want to use. http://wiki.moxiecode.com/index.php/TinyMCE:Configuration/theme_advanced_styles

Hope this sets you in the right direction

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.