Email Templates and Reminders #606
This commit is contained in:
parent
e1c8379808
commit
e0f6fbdd9c
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
|
||||||
// DELETE THIS FILE ONCE SUPER EDITOR IS UPDATED
|
// DELETE THIS FILE ONCE SUPER EDITOR IS UPDATED
|
||||||
|
// Note: using the standard function crashes with h1 tags
|
||||||
|
|
||||||
import 'dart:convert';
|
import 'dart:convert';
|
||||||
|
|
||||||
|
|
@ -468,7 +468,7 @@ class AttributedTextMarkdownSerializer extends AttributionVisitor {
|
||||||
final linkMarker =
|
final linkMarker =
|
||||||
_encodeLinkMarker(startingAttributions, AttributionVisitEvent.start);
|
_encodeLinkMarker(startingAttributions, AttributionVisitEvent.start);
|
||||||
|
|
||||||
_buffer
|
_buffer!
|
||||||
..write(linkMarker)
|
..write(linkMarker)
|
||||||
..write(markdownStyles);
|
..write(markdownStyles);
|
||||||
}
|
}
|
||||||
|
|
@ -488,7 +488,7 @@ class AttributedTextMarkdownSerializer extends AttributionVisitor {
|
||||||
|
|
||||||
// +1 on end index because this visitor has inclusive indices
|
// +1 on end index because this visitor has inclusive indices
|
||||||
// whereas substring() expects an exclusive ending index.
|
// whereas substring() expects an exclusive ending index.
|
||||||
_buffer
|
_buffer!
|
||||||
..write(markdownStyles)
|
..write(markdownStyles)
|
||||||
..write(linkMarker);
|
..write(linkMarker);
|
||||||
}
|
}
|
||||||
|
|
@ -588,4 +588,3 @@ class _EmptyParagraphSyntax extends md.BlockSyntax {
|
||||||
return md.Element('p', []);
|
return md.Element('p', []);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
*/
|
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,8 @@
|
||||||
import 'package:flutter/foundation.dart';
|
import 'package:flutter/foundation.dart';
|
||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
|
import 'package:invoiceninja_flutter/utils/markdown.dart';
|
||||||
import 'package:invoiceninja_flutter/utils/super_editor/toolbar.dart';
|
import 'package:invoiceninja_flutter/utils/super_editor/toolbar.dart';
|
||||||
import 'package:super_editor/super_editor.dart';
|
import 'package:super_editor/super_editor.dart';
|
||||||
import 'package:super_editor_markdown/super_editor_markdown.dart';
|
|
||||||
|
|
||||||
/// Example of a rich text editor.
|
/// Example of a rich text editor.
|
||||||
///
|
///
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue