josephtklein / jwysiwyg

Automatically exported from code.google.com/p/jwysiwyg
GNU General Public License v2.0
0 stars 0 forks source link

css should not be hardcoded in the js source #203

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1. install default jwysiswyg
2. watch it break on my site
3. edit the js to remove css classes that are hardcoded as html style 
attributes with jwysiwyg.js

What is the expected output? What do you see instead?

jwysiwyg should stop trying to be clever about sizing its width, and let me use 
a stylesheet to do it instead.

What version of the product are you using? On what operating system?

0.6 on ubuntu/karmic

Please provide any additional information below.

The whole point of CSS is to separate content from presentation. Let the js 
produce the content, and let me style it like everything else with CSS. Don't 
get in my way by making me chase down and remove extraneous style elements from 
within your js code. Not designer friendly.

Original issue reported on code.google.com by chris.ha...@gmail.com on 20 Jul 2010 at 3:57

GoogleCodeExporter commented 9 years ago
iFrameClass option added to master branch of http://github.com/akzhan/jwysiwyg

This option removes any width and height settings.

Original comment by akzhan.a...@gmail.com on 20 Aug 2010 at 10:35