setHtml static method
Build a function which sets the html value of the editor.
This replaces the current html value of the editor.
Implementation
static String setHtml() => function(
name: "setHtml",
args: ["value"],
body: '''
const currentValue = ${summernoteMethodCall(args: ["'code'"])}
${logDebugCall(message: '"Current value: "+ currentValue')}
if (value == currentValue) return;
${logDebugCall(message: '"Setting value: " + value')}
${summernoteMethodCall(args: ["'code'", 'value'])}
${functionCall(name: "setCursorToEnd")}
''',
);