Commit 28d5a460 by Sven Marnach

Remove Reset button for the column widths and row heights fields.

It's not working for these fields, while it works for all other fields.  This
seems to be a bug in xblock-utils.
parent 5d2bc7df
...@@ -56,6 +56,7 @@ class ActiveTableXBlock(StudioEditableXBlockMixin, XBlock): ...@@ -56,6 +56,7 @@ class ActiveTableXBlock(StudioEditableXBlockMixin, XBlock):
'numerical values. The total width of the table should not be more than 800. No value ' 'numerical values. The total width of the table should not be more than 800. No value '
'will result in equal-width columns with a total width of 800 pixels.', 'will result in equal-width columns with a total width of 800 pixels.',
scope=Scope.content, scope=Scope.content,
resettable_editor=False,
) )
row_heights = String( row_heights = String(
display_name='Row heights', display_name='Row heights',
...@@ -63,6 +64,7 @@ class ActiveTableXBlock(StudioEditableXBlockMixin, XBlock): ...@@ -63,6 +64,7 @@ class ActiveTableXBlock(StudioEditableXBlockMixin, XBlock):
'numerical values. Rows may grow higher than the specified value if the text in some cells ' 'numerical values. Rows may grow higher than the specified value if the text in some cells '
'in the row is long enough to get wrapped in more than one line.', 'in the row is long enough to get wrapped in more than one line.',
scope=Scope.content, scope=Scope.content,
resettable_editor=False,
) )
default_tolerance = Float( default_tolerance = Float(
display_name='Default tolerance', display_name='Default tolerance',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment