fix read-only viewer
This commit is contained in:
parent
3d66587678
commit
2d07a5c5f6
|
|
@ -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.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user