I have created a regular template, with a stylesheet attached via the CMSMS database. The stylesheet has several styles for images. I desire for an admin/editor to be able to create a new page content with an uploaded image and apply the style in the WYSIWYG editor. However, the classes in my stylesheet do not show up in the "Styles" dropdown menu in the WYSIWYG editor for files using this template.
This stylesheet displays properly when I look at a test page generated with it, so I know it works.
Is it possible to make the WYSIWYG style list include the styles from the stylesheet?
Thanks,
Ken
Classes in the WYSIWYG editor [solved]
Classes in the WYSIWYG editor [solved]
Last edited by kendo451 on Sat Aug 18, 2007 9:30 pm, edited 1 time in total.
Re: Classes in the WYSIWYG editor
If the CSS is marked for screen it should show up, look at the style sheet at the bottom in the check box area check that the Media Type: "screen : Intended primarily for color computer screens" is ticked...
Re: Classes in the WYSIWYG editor [solved]
Thanks!
Actually, when I checked, it WAS ticked, but so was "projection". So if you have screen + something else checked, the styles don't show in the dropdown list.
Ken
Actually, when I checked, it WAS ticked, but so was "projection". So if you have screen + something else checked, the styles don't show in the dropdown list.
Ken
Re: Classes in the WYSIWYG editor [solved]
Hi!
a) are we talking about FCKEditor?
b) is this is a bug, or not?
Cheers,
Alex
a) are we talking about FCKEditor?
b) is this is a bug, or not?
Cheers,
Alex
Re: Classes in the WYSIWYG editor [solved]
A) We are talking about the CMSMS core WYSIWYG editor used to make new pages. Not sure if that's the same one you mentioned.
B) It would appear to be a bug, but it is a potentially useful bug. See below:
I am a designer who customizes CMSMS for clients. They don't respond well to too-many choices, so I would like to limit the styles in the WYSIWYG editor to just a few for images and text in the content sections.
This "bug" would allow me to do that as follows:
Still, an improvement would be to fix the bug, and enable the administrator to pick which style-sheet is accessible from the content box.
B) It would appear to be a bug, but it is a potentially useful bug. See below:
I am a designer who customizes CMSMS for clients. They don't respond well to too-many choices, so I would like to limit the styles in the WYSIWYG editor to just a few for images and text in the content sections.
This "bug" would allow me to do that as follows:
- Create one or more style-sheets that control most of the layout, font, etc. When you load this into the system check two boxes: screen and projector.
- Create a small style sheet that contains only the styles I want my clients to have access to when they add new content. Load it into the database and check ONLY the screen box.
Still, an improvement would be to fix the bug, and enable the administrator to pick which style-sheet is accessible from the content box.
Re: Classes in the WYSIWYG editor [solved]
That *was* - before v.1.0 - FCKEditor and is now TinyMCE - that is why I am asking.kendo451 wrote: A) We are talking about the CMSMS core WYSIWYG editor used to make new pages. Not sure if that's the same one you mentioned.
I have the very same problem, and I will do the same. But that is not what media="screen" in CSS was meant for ...kendo451 wrote: B) It would appear to be a bug, but it is a potentially useful bug. See below:
[...]
Thanks to this bug, it will only show the clients the styles I want them to access.
Still, an improvement would be to fix the bug, and enable the administrator to pick which style-sheet is accessible from the content box.
but maybe there are *reasons* to handle it this way, so I am asking. If it is a bug, it should simply get corrected.
Cheers,
Alex
Re: Classes in the WYSIWYG editor [solved]
Using the screen option as I suggested is definitely an improper exploitation of a bug. Yeah, it should be fixed.
But when they fix it, perhaps someone could add an option to check whether or not a stylesheet will be available via the Styles in the WYSIWYG editor.
Ken
But when they fix it, perhaps someone could add an option to check whether or not a stylesheet will be available via the Styles in the WYSIWYG editor.
Ken
Re: Classes in the WYSIWYG editor [solved]
i checked my stylesheet as screen media too but it still does not appear in tinymc editor. what goes wrong??
Re: Classes in the WYSIWYG editor [solved]
nope. u are wrong - go and make your homeworks before giving useless answers 
quote from wiki:
Tiny Moxiecode Content Editor
any questions?
btw: my problem is solved
best...

quote from wiki:
Tiny Moxiecode Content Editor
any questions?
btw: my problem is solved
best...