SnippetMaster Support Forums
Return to main website
 
March 10, 2011, 07:07:53 PM
* Show unread posts since last visit.
* Show new replies to your posts.
Welcome, Guest. Please login or register.
Did you miss your activation email?
March 10, 2011, 07:07:53 PM

Login with username, password and session length
Search:  
Advanced search
* Home Help Search Login Register
SnippetMaster Support Forums  |  General  |  General Discussion & Support  |  Topic: Embedded CSS styles not showing in the WYSIWYG editor dropdown « previous next »
Pages: [1] Print
Author Topic: Embedded CSS styles not showing in the WYSIWYG editor dropdown  (Read 807 times)
eventide

Posts: 19


WWW
[-] Embedded CSS styles not showing in the WYSIWYG editor dropdown
« on: January 18, 2010, 02:10:07 PM »

The CSS doesn't seem to be working the way the demo claims it should:
Quote
"Any linked CSS files or embedded styles in the page being edited will automatically appear in the Styles drop-down list."
(my emphasis).

I created a standard .html page and included a linked stylesheet with a few classes defined and a class defined on the page itself in the style tag, within the head tag - pretty standard, basic setup.

I then put snippet tags around a few paragraphs on the page. When I loaded the page in the WYSIWYG editor as admin, the class defined on the Web page didn't show in the Styles dropdown, but the ones linked in the stylesheet did.

The only way I could get the class that was defined on the Web page to show in the Styles dropdown was if I moved the snippet tag before the style tag on the HTML page.

This doesn't appear to be working the way it's supposed to.
Report to moderator   Logged

f u cn rd ths u cn gt a gd jb n prgrmmng
cedarcreek

Posts: 7


[-] Re: Embedded CSS styles not showing in the WYSIWYG editor dropdown
« Reply #1 on: March 02, 2010, 05:54:30 PM »

There are some pretty major issues with CSS and the editor.

I wish there was an editor that was cross-browser compatible and that worked as intuitively as it should. TinyMCE is probably the best, but it has some big flaws.

I hope the CSS issue is at least resolved in the new version of SM...since really that is one of the only things holding it back from being a PERFECT solution.
Report to moderator   Logged
eventide

Posts: 19


WWW
[-] Re: Embedded CSS styles not showing in the WYSIWYG editor dropdown
« Reply #2 on: March 03, 2010, 07:03:25 AM »

Hey, cedarcreek

I'd forgotten I had posted this - just so happens I was thinking about this issue the other day.

Henri, if you see this, any thoughts/input on the CSS issue noted here?
Report to moderator   Logged

f u cn rd ths u cn gt a gd jb n prgrmmng
davert

Posts: 34


[-] Re: Embedded CSS styles not showing in the WYSIWYG editor dropdown
« Reply #3 on: March 03, 2010, 01:23:20 PM »

One of the big problems in this type of program is the pitiful state of open source online editors. They all seem to make very strange assumption about html and CSS, and none provide anywhere near the type of experience they should for novices, or produce decent code. Indeed, they are excellent at destroying good code. This is NOT the fault of the writer of Snippetmaster, who chose the BEST of the bunch. (A belief which is backed up by Wordpress choosing it as well).

It's strange because the editor does things (in WordPress anyway) like interpreting two line feeds as </div><div> instead of </p><p> which is what you'd think. And as you've said, user defined css is not treated well. That's not even going into accent marks.

It would be nice to have full Safari support. I sure wish the editors could simply be swapped in and out. I tried that myself and it doesn't work, not by a long shot.

The competitors to SnippetMaster are not as good even with the old version we're still using. It's enough to push one to Contribute if we could afford it. Which we can't.
Report to moderator   Logged
Pages: [1] Print 
SnippetMaster Support Forums  |  General  |  General Discussion & Support  |  Topic: Embedded CSS styles not showing in the WYSIWYG editor dropdown « previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.12 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!