File tree 2 files changed +10
-4
lines changed
2 files changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -54,6 +54,11 @@ export class DescriptionView extends DOMWidgetView {
54
54
this . label . style . display = 'none' ;
55
55
56
56
this . listenTo ( this . model , 'change:description' , this . updateDescription ) ;
57
+ this . listenTo (
58
+ this . model ,
59
+ 'change:description_html' ,
60
+ this . updateDescription
61
+ ) ;
57
62
this . listenTo ( this . model , 'change:tabbable' , this . updateTabindex ) ;
58
63
this . updateDescription ( ) ;
59
64
this . updateTabindex ( ) ;
Original file line number Diff line number Diff line change 61
61
"metadata" : {},
62
62
"outputs" : [],
63
63
"source" : [
64
- " Checkbox(description=\" <b>ok</b><i>OK</i>\" , description_html=False)"
64
+ " c = Checkbox(description=\" <b>ok</b><i>OK</i>\" )\n " ,
65
+ " c"
65
66
]
66
67
},
67
68
{
70
71
"metadata" : {},
71
72
"outputs" : [],
72
73
"source" : [
73
- " Checkbox(description= \" <b>ok</b><script>OK</script> \" , description_html = True) "
74
+ " c. description_html = True"
74
75
]
75
76
},
76
77
{
79
80
"metadata" : {},
80
81
"outputs" : [],
81
82
"source" : [
82
- " Label( \" <script >ok</script>\" )"
83
+ " Checkbox(description= \" <b >ok</b>< script>OK</script> \" , description_html = True )"
83
84
]
84
85
},
85
86
{
88
89
"metadata" : {},
89
90
"outputs" : [],
90
91
"source" : [
91
- " Label.__mro__, Text.__mro__ "
92
+ " Label( \" <b>OK</b><script>ok</script> \" , description_html=True) "
92
93
]
93
94
}
94
95
],
You can’t perform that action at this time.
0 commit comments