taoguan / jwysiwyg

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

XHTML valid output #153

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Create new bold btn
2. set arguments to <span>
3. set class of that argument to "bold"
4. create css class .bold{text-weight:bold;}

What is the expected output? What do you see instead?
I was hoping by doing this i could wrap the selected text in a span.
<span class="bold">This text bold.</span>

What version of the product are you using? On what operating system?
jWYSIWYG => 0.6
jQuery => 1.4
OS => OSX 10.6.2 => browser Chrome 4.0.249.49, Safari 4.0.3, Firefox 
3.5.7

Please provide any additional information below.
optimally it would be great if I applied 2 styles it would work like this:
<span class="bold underline">this text is bold and underlined.</span>

Original issue reported on code.google.com by joe.kro...@gmail.com on 18 Jan 2010 at 10:17