render notes can be edited and can contain HTML markup

This commit is contained in:
azivner
2018-05-26 19:27:47 -04:00
parent ab0486aaf1
commit 40a32e6826
9 changed files with 85 additions and 22 deletions

View File

@@ -40,7 +40,7 @@ class Note extends Entity {
}
isHtml() {
return (this.type === "code" || this.type === "file") && this.mime === "text/html";
return (this.type === "code" || this.type === "file" || this.type === "render") && this.mime === "text/html";
}
getScriptEnv() {