Author: david.michon
Date: Fri Jun 12 02:02:46 2009
New Revision: 557

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

Log:
change wymeditor containers and classes lists

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 02:02:46 2009
@@ -5,8 +5,19 @@
          lang: '{{ language }}',
          skin: 'django',
          skinPath: "{{ PAGES_MEDIA_URL  
}}javascript/wymeditor/skins/django/",
-        updateSelector: '.submit-row input[type=submit],',
+        updateSelector: '.submit-row input[type=submit]',
          updateEvent: 'click',
+        containersItems: [
+            {'name': 'P', 'title': 'Paragraph', 'css': 'wym_containers_p'},
+             
{'name': 'H3', 'title': 'Heading_3', 'css': 'wym_containers_h3'},
+             
{'name': 'H4', 'title': 'Heading_4', 'css': 'wym_containers_h4'},
+             
{'name': 'H5', 'title': 'Heading_5', 'css': 'wym_containers_h5'}
+        ],
+        classesItems: [
+            {'name': 'left', 'title': 'Image left align', 'expr': 'img'},
+            {'name': 'right', 'title': 'Image right align', 'expr': 'img'},
+            {'name': 'border', 'title': 'Image border', 'expr': 'img'}
+        ],
          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