Our Forum has Moved

This site is our old forum and is only here for achive until we get proper 301 redirects setup to make Google happy.

Please use our new community site - Our Umbraco - which contains an improved forum, documentation wiki, package repository and a member locator.

Go to Our Umbraco now

Learn everything about Umbraco
style property not appearing in dropdown in tinymce Options
pmcghen
Posted: Thursday, January 24, 2008 5:11:01 PM
Rank: Newbie

Joined: 1/24/2008
Posts: 2
Hey everybody,

I'm new to umbraco and I'm running into a strange problem with the stylesheets.

When I create a new style property from the interface and input the css, I am not seeing that style in the Styles menu of the editor. The class will work if I manually edit the HTML from the editor, but I can't get to it from the WYSIWYG area. Does anybody have any idea why this might be happening?

Thanks
drobar
Posted: Thursday, January 24, 2008 8:43:08 PM

Rank: Umbracoholic

Joined: 9/8/2006
Posts: 2,020
Location: MA, USA; Cambridge, UK
Check to be sure that you've assigned the stylesheets to TinyMCE.

To do this, go to the Developer section of the umbraco user interface. Expand the Data Types section of the treeview control on the left. Click the Richtext Editor item. Put a check mark next to the related stylesheet(s) you want TinyMCE to incorporate in its interface (along with other TinyMCE options)


cheers,
doug.

MVP 2007-2009 - Percipient Studios - Percipient Blog
pmcghen
Posted: Thursday, January 24, 2008 9:47:42 PM
Rank: Newbie

Joined: 1/24/2008
Posts: 2
That was it. Thanks Doug!
Ruben
Posted: Sunday, February 24, 2008 11:15:55 AM

Rank: Fanatic

Joined: 12/21/2007
Posts: 369
Location: Belgium
Hi,

I can't get the styles menu to work using the instructions you provided. I'm using the latest code version of CodePlex on Firefox.

Before I start hacking into things, I'd like to know if I'm not the only one with this problem :)

Ruben

Ruben Verborgh | Umbraco Core Developer
Ruben
Posted: Sunday, February 24, 2008 11:50:35 AM

Rank: Fanatic

Joined: 12/21/2007
Posts: 369
Location: Belgium
...I want to add that the style sheet does get loaded (styles are visible in editor window), but the list itself does not get populated.

Ruben Verborgh | Umbraco Core Developer
Ruben
Posted: Sunday, February 24, 2008 11:56:15 AM

Rank: Fanatic

Joined: 12/21/2007
Posts: 369
Location: Belgium
...and the classes do appear in the "Insert/edit image" dialog.

Ruben Verborgh | Umbraco Core Developer
drobar
Posted: Sunday, February 24, 2008 9:40:34 PM

Rank: Umbracoholic

Joined: 9/8/2006
Posts: 2,020
Location: MA, USA; Cambridge, UK
Hi, Ruben,

To make styles that appear in the TinyMCE editor, you have to right-click on the stylesheet node and create a subnode. These are the styles that appear in the editor, rather than all the styles in your stylesheet.

If you've done that, and set the RTE datatype to use the appropriate stylesheet(s) and they still don't show... please explain more about what you did and what you do/don't see happening.

cheers,
doug.

MVP 2007-2009 - Percipient Studios - Percipient Blog
Ruben
Posted: Sunday, February 24, 2008 9:52:50 PM

Rank: Fanatic

Joined: 12/21/2007
Posts: 369
Location: Belgium
Alright, thanks, I'll try that soon. Still it's weird that those styles do show up in the Insert Image dialog.

Ruben Verborgh | Umbraco Core Developer
Ruben
Posted: Sunday, February 24, 2008 9:57:13 PM

Rank: Fanatic

Joined: 12/21/2007
Posts: 369
Location: Belgium
Thanks Doug, this works. Didn't know about that. I think it's a little complicated though.

Should we do something about the Insert Image dialog?

Ruben Verborgh | Umbraco Core Developer
martin
Posted: Thursday, February 28, 2008 1:25:08 AM
Rank: Devotee

Joined: 7/24/2006
Posts: 249
Douglas Robar wrote:

Hi, Ruben,

To make styles that appear in the TinyMCE editor, you have to right-click on the stylesheet node and create a subnode. These are the styles that appear in the editor, rather than all the styles in your stylesheet.

If you've done that, and set the RTE datatype to use the appropriate stylesheet(s) and they still don't show... please explain more about what you did and what you do/don't see happening.

cheers,
doug.


I'm having a similar problem : I create the subfolder and it shows up in the Styles but whenever I attempt to insert any code in the new css folder it dies with:

Code:

Server Error in '/' Application.
--------------------------------------------------------------------------------

String or binary data would be truncated.
The statement has been terminated.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

I have been trying for about 2 hours and if I use one line at a time it sometimes saves.
but mostly I just want to choke it.

kevin.angelo
Posted: Monday, June 15, 2009 11:06:12 AM
Rank: Newbie

Joined: 6/9/2009
Posts: 4
Location: London
Issue: style property not appearing in dropdown in tinymce

I have followed instructions from this post and did the following:

1. created a css file from Settings > Stylesheets > right clicked and created the CSS file.
2. In the developer section: Data Types > Richtext editor > selected the custom CSS file in the "Related stylesheets" section.
3. Published the page on which I am expecting the "Styles" dropdown to be populated. But the custom styles dont appear.


In my CSS, I have overridden h1, h2 styles and these are applied to the content I have but the custom styles in my CSS I have created dont appear in the Styles dropdown.

Please help.

regards,
Kevin

Frekvi
Posted: Tuesday, June 16, 2009 2:14:19 PM

Rank: Devotee

Joined: 7/8/2008
Posts: 73
Location: Norway,
@kevin.angelo : This is step for step how I did it.

1. First create a substyle under your CSS like picture show below



2. Then choose the Name that is visible in the editor and alias that it's called in the CSS. I used h3 for this one. See picture below



3. Then go to Developer Section and press Data Types -> Richtext editor



4. In the Richtext editor Settings you mark ur CSS as Related stylesheets: see picture below



5. It should now work! ;)



Hope this helps
Regards,
Fredrik
kevin.angelo
Posted: Wednesday, June 17, 2009 3:56:58 PM
Rank: Newbie

Joined: 6/9/2009
Posts: 4
Location: London
Thanks for helping out with this issue!!!

The forum has moved

This forum is no longer in use, so you can't reply to this message - please go to Our Umbraco

Users browsing this topic
Guest


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.