Author: alevkovsky
Date: 2008-09-25 06:59:04 -0400 (Thu, 25 Sep 2008)
New Revision: 10552
Modified:
trunk/sandbox/ui/editor/src/main/config/component/editor.xml
trunk/sandbox/ui/editor/src/main/templates/editor.jspx
Log:
Removing events and style attributes from Editor
Modified: trunk/sandbox/ui/editor/src/main/config/component/editor.xml
===================================================================
--- trunk/sandbox/ui/editor/src/main/config/component/editor.xml 2008-09-25 10:28:16 UTC
(rev 10551)
+++ trunk/sandbox/ui/editor/src/main/config/component/editor.xml 2008-09-25 10:59:04 UTC
(rev 10552)
@@ -24,8 +24,6 @@
</test>
</tag>
&ui_component_attributes;
- &html_events;
- &html_style_attributes;
<property hidden="true">
<name>type</name>
<classname>java.lang.String</classname>
Modified: trunk/sandbox/ui/editor/src/main/templates/editor.jspx
===================================================================
--- trunk/sandbox/ui/editor/src/main/templates/editor.jspx 2008-09-25 10:28:16 UTC (rev
10551)
+++ trunk/sandbox/ui/editor/src/main/templates/editor.jspx 2008-09-25 10:59:04 UTC (rev
10552)
@@ -13,18 +13,8 @@
<f:clientid var="clientId"/>
<h:styles>css/editor.xcss</h:styles>
<h:scripts>scripts/tiny_mce/tiny_mce_src.js,
scripts/editor.js</h:scripts>
- <div id="#{clientId}"
x:passThruWithExclusions="id,value,styleClass,class"
- class="rich-editor #{component.attributes['styleClass']}"
- onclick="#{component.attributes['onclick']}"
- ondblclick="#{component.attributes['ondblclick']}"
- onmouseup="#{component.attributes['onmouseup']}"
- onmousedown="#{component.attributes['onmousedown']}"
- onmousemove="#{component.attributes['onmousemove']}"
- onmouseover="#{component.attributes['onmouseover']}"
- onmouseout="#{component.attributes['onmouseout']}"
- onkeydown="#{component.attributes['onkeydown']}"
- onkeypress="#{component.attributes['onkeypress']}"
- onkeyup="#{component.attributes['onkeyup']}">
+ <div id="#{clientId}" x:passThruWithExclusions="id,value"
+ class="rich-editor">
<textarea id="#{clientId}TextArea" name='#{clientId}'
style="width: #{component.attributes['width']}px; height:
#{component.attributes['height']}px;">
Show replies by date