mirror of
https://github.com/GitJournal/GitJournal.git
synced 2025-06-29 18:38:36 +08:00
Let the rendered markdown be selectable
This commit is contained in:
@ -59,6 +59,7 @@ class NoteViewer extends StatelessWidget {
|
|||||||
padding: const EdgeInsets.only(top: 8.0, bottom: 8.0),
|
padding: const EdgeInsets.only(top: 8.0, bottom: 8.0),
|
||||||
child: MarkdownBody(
|
child: MarkdownBody(
|
||||||
data: note.body,
|
data: note.body,
|
||||||
|
selectable: true,
|
||||||
styleSheet: markdownStyleSheet,
|
styleSheet: markdownStyleSheet,
|
||||||
onTapLink: (String link) {
|
onTapLink: (String link) {
|
||||||
if (link.startsWith('./')) {
|
if (link.startsWith('./')) {
|
||||||
|
Reference in New Issue
Block a user