Author: david.michon
Date: Fri Jun 12 08:04:42 2009
New Revision: 558

Modified:
    branches/electron/pages/templates/admin/pages/page/widgets/wymeditor.html

Log:
corresponding style

Modified:  
branches/electron/pages/templates/admin/pages/page/widgets/wymeditor.html
==============================================================================
---  
branches/electron/pages/templates/admin/pages/page/widgets/wymeditor.html       
 
(original)
+++  
branches/electron/pages/templates/admin/pages/page/widgets/wymeditor.html       
 
Fri Jun 12 08:04:42 2009
@@ -18,6 +18,17 @@
              {'name': 'right', 'title': 'Image right align', 'expr': 'img'},
              {'name': 'border', 'title': 'Image border', 'expr': 'img'}
          ],
+
+        editorStyles: [
+            {'name': 'img', 'css': 'margin: 0 0 1.5em; max-width: 100%;'},
+            {'name': 'p img', 'css': 'float: left; margin: 0.7em 0 0.8em  
0; position: relative; width: 98%;'},
+            {'name': 'p img.left', 'css': 'float: left; margin: 0.7em 1em  
0.8em 0; width: auto;'},
+            {'name': 'p img.right', 'css': 'float: right; margin: 0.7em 0  
0.8em 1em; width: auto;'},
+
+            {'name': 'img', 'css': 'border: none;'},
+            {'name': 'img.border', 'css': 'border: 2px solid #757575;'}
+        ],
+
          postInit: function(wym) {
              wym.resizable({handles: "s", maxHeight: 600});
              //construct the button's html

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pinax-updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/pinax-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to