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