aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/formattedText/OrderedListView.tsx
diff options
context:
space:
mode:
authoranika-ahluwalia <anika.ahluwalia@gmail.com>2020-06-16 17:52:05 -0500
committeranika-ahluwalia <anika.ahluwalia@gmail.com>2020-06-16 17:52:05 -0500
commit9018ac91f926df133738c86225838cfebdcf2270 (patch)
tree3d6cdb776b33a0b419861cf17fe6770841663289 /src/client/views/nodes/formattedText/OrderedListView.tsx
parent6345949e461dd0ef1a284527846462db7c7fb281 (diff)
parent4a0332994b38c8910077e6cc711e9e78c2964b67 (diff)
Merge branch 'master' of https://github.com/browngraphicslab/Dash-Web into anika_schema_view
Diffstat (limited to 'src/client/views/nodes/formattedText/OrderedListView.tsx')
-rw-r--r--src/client/views/nodes/formattedText/OrderedListView.tsx8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/client/views/nodes/formattedText/OrderedListView.tsx b/src/client/views/nodes/formattedText/OrderedListView.tsx
new file mode 100644
index 000000000..c3595e59b
--- /dev/null
+++ b/src/client/views/nodes/formattedText/OrderedListView.tsx
@@ -0,0 +1,8 @@
+export class OrderedListView {
+
+ update(node: any) {
+ // if attr's of an ordered_list (e.g., bulletStyle) change,
+ // return false forces the dom node to be recreated which is necessary for the bullet labels to update
+ return false;
+ }
+} \ No newline at end of file