SmartEditorController constructor

SmartEditorController({
  1. bool processInputHtml = true,
  2. bool processOutputHtml = true,
  3. bool processNewLineAsBr = false,
})

Implementation

SmartEditorController({
  this.processInputHtml = true,
  this.processOutputHtml = true,
  this.processNewLineAsBr = false,
}) {
  _documentController = DocumentController(
    undoRedoManager: _undoRedoManager,
  );
  _documentController.addListener(_onDocumentChanged);
  _documentController.onMessage = (msg) => onMessage?.call(msg);
  _initClipboardListener();
}