Skip to content

Commit b57a2f2

Browse files
save file
1 parent 0ebb496 commit b57a2f2

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

utils/editors/markdown-editor/html/output-md/v2.0/output-md-v2.0.html

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,9 @@
9393
var chk = {};
9494

9595

96+
var btn = {};
97+
98+
9699
//:
97100

98101

@@ -139,6 +142,8 @@
139142
chk.html = $.chkbox(shadow,'#html');
140143
chk.breaks = $.chkbox(shadow,'#breaks');
141144
chk.linkify = $.chkbox(shadow,'#linkify');
145+
var group = $.chkbox.group(shadow,'#mode-md','#mode-html');
146+
group.callback = btn.mode;
142147

143148

144149
output = $(shadow,'#output');
@@ -147,6 +152,14 @@
147152
}//initdom
148153

149154

155+
//:
156+
157+
158+
btn.mode = function(chk,id){
159+
debug('btn.mode',id);
160+
}//mode
161+
162+
150163
//:
151164

152165

0 commit comments

Comments
 (0)