forked from expo/troggle
Added a sub menu when in the handbook directory. Imcreased width of edit preview
This commit is contained in:
@@ -86,7 +86,7 @@
|
||||
var previewFrame = document.getElementById('preview');
|
||||
var preview = previewFrame.contentDocument || previewFrame.contentWindow.document;
|
||||
preview.open();
|
||||
preview.write("<html><head><meta http-equiv='Content-Type' content='text/html; charset=utf-8' /><link rel='stylesheet' type='text/css' href='/css/main2.css' /></head><body>");
|
||||
preview.write("<html><head><meta http-equiv='Content-Type' content='text/html; charset=utf-8' /><link rel='stylesheet' type='text/css' href='/css/main2.css' /> <style type=text/css>body{max-width: none;margin-left: 15px;margin-right: 15px;}</style></head><body>");
|
||||
preview.write(editor.getValue());
|
||||
preview.write("</body></html>");
|
||||
preview.close();
|
||||
|
||||
Reference in New Issue
Block a user