|
|
|
@ -1,7 +1,8 @@ |
|
|
|
|
library quill_html_converter; |
|
|
|
|
|
|
|
|
|
import 'package:dart_quill_delta/dart_quill_delta.dart'; |
|
|
|
|
import 'package:vsc_quill_delta_to_html/vsc_quill_delta_to_html.dart' as converter |
|
|
|
|
import 'package:vsc_quill_delta_to_html/vsc_quill_delta_to_html.dart' |
|
|
|
|
as converter |
|
|
|
|
show |
|
|
|
|
ConverterOptions, |
|
|
|
|
QuillDeltaToHtmlConverter, |
|
|
|
@ -93,7 +94,8 @@ final _defaultConverterOptions = ConverterOptions( |
|
|
|
|
inlineStyles: converter.InlineStyles( |
|
|
|
|
<String, converter.InlineStyleType>{ |
|
|
|
|
'font': converter.InlineStyleType( |
|
|
|
|
fn: (value, _) => converter.defaultInlineFonts[value] ?? 'font-family: $value', |
|
|
|
|
fn: (value, _) => |
|
|
|
|
converter.defaultInlineFonts[value] ?? 'font-family: $value', |
|
|
|
|
), |
|
|
|
|
'size': converter.InlineStyleType( |
|
|
|
|
fn: (value, _) { |
|
|
|
|