Hi,
I have definded some Wiki-Styles to the cssEditor.css
e.g.
".noteimportant{-moz-border-radius-bottomleft:20px;-moz-border-radius-bottomright:20px;-moz-border-radius-topleft:20px;-moz-border-radius-topright:20px;background-position:20px 50%;background-repeat:no-repeat;border-collapse:collapse;clear:both;margin:2em auto;min-height:40px;padding:15px 20px 15px 80px;text-align:justify;vertical-align:middle;background-color:#ffc;background-image:url(CSSImages/important.png);"
I enterd the following text in HTML-View...
"1st line
2nd line"
...and applied the style .notewarning
The Editor creates the following Code:
"
<p> </p><font class="notewarning">1st line<br />2nd line</font>
"
The result doesn't look nice in HTML-View
After I replace "font" with "div" all looks nice(as expected)
How can I configure the editor, to create different Tags with different styles?
e.g.
for styles like "div.styleNAMExyz{background-color:red;}" the editor creates "<div class="styleNAMExyz">1st line<br />2nd line</div>"
and for styles like "font.styleNAMExyz{background-color:red;}" the editor creates "<font class="styleNAMExyz">1st line<br />2nd line</font>"
Best would be dynamic, for styles like "tagNameXYZ.styleNAMExyz{background-color:red;}"
the editor creates "<tagNameXYZ class="styleNAMExyz">1st line<br />2nd line</tagNameXYZ>"
Maybe it's all about configuration.
Or you add this feature to your next version?
kind regards,
Andreas
I have definded some Wiki-Styles to the cssEditor.css
e.g.
".noteimportant{-moz-border-radius-bottomleft:20px;-moz-border-radius-bottomright:20px;-moz-border-radius-topleft:20px;-moz-border-radius-topright:20px;background-position:20px 50%;background-repeat:no-repeat;border-collapse:collapse;clear:both;margin:2em auto;min-height:40px;padding:15px 20px 15px 80px;text-align:justify;vertical-align:middle;background-color:#ffc;background-image:url(CSSImages/important.png);"
I enterd the following text in HTML-View...
"1st line
2nd line"
...and applied the style .notewarning
The Editor creates the following Code:
"
<p> </p><font class="notewarning">1st line<br />2nd line</font>
"
The result doesn't look nice in HTML-View
After I replace "font" with "div" all looks nice(as expected)
How can I configure the editor, to create different Tags with different styles?
e.g.
for styles like "div.styleNAMExyz{background-color:red;}" the editor creates "<div class="styleNAMExyz">1st line<br />2nd line</div>"
and for styles like "font.styleNAMExyz{background-color:red;}" the editor creates "<font class="styleNAMExyz">1st line<br />2nd line</font>"
Best would be dynamic, for styles like "tagNameXYZ.styleNAMExyz{background-color:red;}"
the editor creates "<tagNameXYZ class="styleNAMExyz">1st line<br />2nd line</tagNameXYZ>"
Maybe it's all about configuration.
Or you add this feature to your next version?
kind regards,
Andreas