From a26812ce0a347c984c6a341532555834295ea202 Mon Sep 17 00:00:00 2001
From: 屏玮 <1786585521@qq.com>
Date: 星期二, 02 七月 2024 14:04:26 +0800
Subject: [PATCH] 1
---
public/static/UEditorPlus/dialogs/preview/preview.html | 75 ++++++++++++++++++++-----------------
1 files changed, 40 insertions(+), 35 deletions(-)
diff --git a/public/static/UEditorPlus/dialogs/preview/preview.html b/public/static/UEditorPlus/dialogs/preview/preview.html
index 887ceee..58f39f4 100644
--- a/public/static/UEditorPlus/dialogs/preview/preview.html
+++ b/public/static/UEditorPlus/dialogs/preview/preview.html
@@ -1,40 +1,45 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
- <style>
- html,body{
- height:100%;
- width:100%;
- padding:0;
- margin:0;
- }
- #preview{
- width:100%;
- height:100%;
- padding:0;
- margin:0;
- }
- #preview *{font-family:sans-serif;font-size:16px;}
- </style>
- <script type="text/javascript" src="../internal.js"></script>
- <script src="../../ueditor.parse.min.js"></script>
- <title></title>
- </head>
- <body class="view">
- <div id="preview" style="margin:8px">
-
- </div>
- </body>
- <script>
- document.getElementById('preview').innerHTML = editor.getContent();
- uParse('#preview',{
- rootPath : '../../',
- chartContainerHeight:500
- })
- dialog.oncancel = function(){
- document.getElementById('preview').innerHTML = '';
+<head>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
+ <style>
+ html, body {
+ height: 100%;
+ width: 100%;
+ padding: 0;
+ margin: 0;
}
- </script>
+
+ #preview {
+ width: 100%;
+ height: 100%;
+ padding: 0;
+ margin: 0;
+ }
+
+ #preview * {
+ font-family: sans-serif;
+ font-size: 16px;
+ }
+ </style>
+ <script type="text/javascript" src="../internal.js?04dbe7f0"></script>
+ <script src="../../ueditor.parse.js?63488b91"></script>
+ <title></title>
+</head>
+<body class="view">
+<div id="preview" style="margin:8px">
+
+</div>
+</body>
+<script>
+ document.getElementById('preview').innerHTML = editor.getContent();
+ uParse('#preview', {
+ rootPath: '../../',
+ chartContainerHeight: 500
+ })
+ dialog.oncancel = function () {
+ document.getElementById('preview').innerHTML = '';
+ }
+</script>
</html>
--
Gitblit v1.8.0