Add toolbar attribute for richtext widget
issue3551 review9741002
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
* Add toolbar attribute for richtext widget
|
||||
* Add PYSON widget
|
||||
* Allow to define the text color and background color in calendar view
|
||||
* Allow to override cache implementation
|
||||
|
||||
@@ -243,6 +243,9 @@ Display a field of the object with the value of the current record.
|
||||
* ``filename_visible``: Only for Binary fields, boolean that enables the
|
||||
display of the filename.
|
||||
|
||||
* ``toolbar``: Only for Rich Text widget, boolean that enables the
|
||||
display of the Rich Text toolbar. The default value is 1.
|
||||
|
||||
* ``yexpand``: see in common-attributes-yexpand_.
|
||||
|
||||
* ``yfill``: see in common-attributes-yfill_.
|
||||
|
||||
@@ -103,6 +103,8 @@ attlist.field &= [a:defaultValue = "1"] attribute completion { "0" | "1" }?
|
||||
attlist.field &= attribute string { text }?
|
||||
attlist.field &= [a:defaultValue = "1"] attribute factor { text }?
|
||||
attlist.field &= attribute filename { text }?
|
||||
attlist.field &=
|
||||
[a:defaultValue = "0"] attribute toolbar { "0" | "1" }?
|
||||
image = element image { attlist.image, empty }
|
||||
attlist.image &= attribute name { text }
|
||||
attlist.image &= [ a:defaultValue = "1" ] attribute colspan { text }?
|
||||
|
||||
@@ -363,6 +363,16 @@
|
||||
<attribute name="filename"/>
|
||||
</optional>
|
||||
</define>
|
||||
<define name="attlist.field" combine="interleave">
|
||||
<optional>
|
||||
<attribute name="toolbar" a:defaultValue="1">
|
||||
<choice>
|
||||
<value>0</value>
|
||||
<value>1</value>
|
||||
</choice>
|
||||
</attribute>
|
||||
</optional>
|
||||
</define>
|
||||
<define name="image">
|
||||
<element name="image">
|
||||
<ref name="attlist.image"/>
|
||||
|
||||
Reference in New Issue
Block a user