diff --git a/app/src/main/assets/editor.html b/app/src/main/assets/editor.html index 58e83d5..117b321 100644 --- a/app/src/main/assets/editor.html +++ b/app/src/main/assets/editor.html @@ -98,6 +98,15 @@ } }); }); + + function setContent(content) { + reset(); + if (content) $('#summernote').summernote('code', content); + } + + function reset() { + $('#summernote').summernote('reset'); + }
+diff --git a/app/src/main/assets/viewer.html b/app/src/main/assets/viewer.html new file mode 100644 index 0000000..7ddf23d --- /dev/null +++ b/app/src/main/assets/viewer.html @@ -0,0 +1,56 @@ + + + +
+ + + + + + + +
+ +