wip: add md editor for scheme description.

pull/5/head
DebuggerX 4 years ago
parent f794515cc7
commit 09a9275705

@ -99,9 +99,11 @@ class _DMarkdownFieldState extends State<DMarkdownField> {
textFocusNode: _focusNode,
padding: EdgeInsets.symmetric(horizontal: 5),
onComplete: (content) {
if (content == widget.initText)
setState(() {
_previewText = content;
});
else
widget.onComplete(content);
},
),

Loading…
Cancel
Save