fix read-only viewer
This commit is contained in:
@@ -126,9 +126,13 @@ class Froghat {
|
|||||||
}
|
}
|
||||||
|
|
||||||
getMarkdown() {
|
getMarkdown() {
|
||||||
|
if (!this.cachedMarkdown) {
|
||||||
|
this.cachedMarkdown = this.element.textContent;
|
||||||
|
}
|
||||||
return this.cachedMarkdown;
|
return this.cachedMarkdown;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
view() {
|
view() {
|
||||||
/*
|
/*
|
||||||
* Convert the wiki read-only mode and display the current HTML.
|
* Convert the wiki read-only mode and display the current HTML.
|
||||||
|
|||||||
Reference in New Issue
Block a user