taoguan / jwysiwyg

Automatically exported from code.google.com/p/jwysiwyg
0 stars 0 forks source link

Improve CSS Degradability #140

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Even though this is unlikely, when I first setup my page, I only got a 
blank set of li's instead of the toolbar, despite JS working.

This however SHOULD still be usable, and to increase levels of 
degradability (in case just CSS is disabled and not JS) I made the 
following changes to the file: trunk/jwysiwyg/jquery.wysiwyg.js

line 568 from:
$('<a><!-- --></a>').addClass(className || cmd)
to:
$('<a>' + className + '</a>').addClass(className || cmd)

and added this to the css file:
div.wysiwyg ul.panel li a { text-indent: -5000px; } 

Original issue reported on code.google.com by deansofer on 21 Nov 2009 at 10:47

GoogleCodeExporter commented 8 years ago

Original comment by akzhan.a...@gmail.com on 8 Dec 2009 at 6:02

GoogleCodeExporter commented 8 years ago
Applied to trunk.

Original comment by akzhan.a...@gmail.com on 13 Dec 2009 at 2:59