Merge branch 'feature' into main
This commit is contained in:
commit
4b3c81ab91
@ -1,7 +1,7 @@
|
|||||||
<!DOCTYPE html><html lang=""><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,user-scalable=no,initial-scale=1,maximum-scale=1,minimum-scale=1"><link rel="icon" href="dist/logo.ico"><title>思绪思维导图</title><script>// 自定义静态资源的路径
|
<!DOCTYPE html><html lang=""><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,user-scalable=no,initial-scale=1,maximum-scale=1,minimum-scale=1"><link rel="icon" href="dist/logo.ico"><title>思绪思维导图</title><script>// 自定义静态资源的路径
|
||||||
window.externalPublicPath = './dist/'
|
window.externalPublicPath = './dist/'
|
||||||
// 接管应用
|
// 接管应用
|
||||||
window.takeOverApp = false</script><link href="dist/css/chunk-vendors.css?c6f9dda3bfa8385d51f4" rel="stylesheet"><link href="dist/css/app.css?c6f9dda3bfa8385d51f4" rel="stylesheet"></head><body><noscript><strong>We're sorry but thoughts doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div><script>const getDataFromBackend = () => {
|
window.takeOverApp = false</script><link href="dist/css/chunk-vendors.css?491cd6024d850d4fc3e9" rel="stylesheet"><link href="dist/css/app.css?491cd6024d850d4fc3e9" rel="stylesheet"></head><body><noscript><strong>We're sorry but thoughts doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div><script>const getDataFromBackend = () => {
|
||||||
return new Promise((resolve, reject) => {
|
return new Promise((resolve, reject) => {
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
resolve({
|
resolve({
|
||||||
@ -66,4 +66,4 @@
|
|||||||
// 可以通过window.$bus.$on()来监听应用的一些事件
|
// 可以通过window.$bus.$on()来监听应用的一些事件
|
||||||
// 实例化页面
|
// 实例化页面
|
||||||
window.initApp()
|
window.initApp()
|
||||||
}</script><script src="dist/js/chunk-vendors.js?c6f9dda3bfa8385d51f4"></script><script src="dist/js/app.js?c6f9dda3bfa8385d51f4"></script></body></html>
|
}</script><script src="dist/js/chunk-vendors.js?491cd6024d850d4fc3e9"></script><script src="dist/js/app.js?491cd6024d850d4fc3e9"></script></body></html>
|
||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "simple-mind-map",
|
"name": "simple-mind-map",
|
||||||
"version": "0.6.15-fix.1",
|
"version": "0.6.15-fix.2",
|
||||||
"description": "一个简单的web在线思维导图",
|
"description": "一个简单的web在线思维导图",
|
||||||
"authors": [
|
"authors": [
|
||||||
{
|
{
|
||||||
|
|||||||
@ -140,11 +140,10 @@ function createRichTextNode() {
|
|||||||
height = Math.ceil(height)
|
height = Math.ceil(height)
|
||||||
g.attr('data-width', width)
|
g.attr('data-width', width)
|
||||||
g.attr('data-height', height)
|
g.attr('data-height', height)
|
||||||
html = div.innerHTML
|
|
||||||
let foreignObject = new ForeignObject()
|
let foreignObject = new ForeignObject()
|
||||||
foreignObject.width(width)
|
foreignObject.width(width)
|
||||||
foreignObject.height(height)
|
foreignObject.height(height)
|
||||||
foreignObject.add(SVG(html))
|
foreignObject.add(div.children[0])
|
||||||
g.add(foreignObject)
|
g.add(foreignObject)
|
||||||
return {
|
return {
|
||||||
node: g,
|
node: g,
|
||||||
|
|||||||
@ -1,8 +1,12 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## 0.6.15-fix.2
|
||||||
|
|
||||||
|
Fix: Fixed an issue where rich text nodes cannot be displayed in Firefox browser.
|
||||||
|
|
||||||
## 0.6.15-fix.1
|
## 0.6.15-fix.1
|
||||||
|
|
||||||
新增:
|
New:
|
||||||
|
|
||||||
> 1.Export PDF supports pagination export based on image size.
|
> 1.Export PDF supports pagination export based on image size.
|
||||||
>
|
>
|
||||||
@ -14,7 +18,7 @@
|
|||||||
>
|
>
|
||||||
> 5.Supports passing error handling functions.
|
> 5.Supports passing error handling functions.
|
||||||
|
|
||||||
修复:
|
Fix:
|
||||||
|
|
||||||
> 1.Fix the issue of displaying exceptions when node text is empty.
|
> 1.Fix the issue of displaying exceptions when node text is empty.
|
||||||
>
|
>
|
||||||
|
|||||||
@ -1,8 +1,10 @@
|
|||||||
<template>
|
<template>
|
||||||
<div>
|
<div>
|
||||||
<h1>Changelog</h1>
|
<h1>Changelog</h1>
|
||||||
|
<h2>0.6.15-fix.2</h2>
|
||||||
|
<p>Fix: Fixed an issue where rich text nodes cannot be displayed in Firefox browser.</p>
|
||||||
<h2>0.6.15-fix.1</h2>
|
<h2>0.6.15-fix.1</h2>
|
||||||
<p>新增:</p>
|
<p>New:</p>
|
||||||
<blockquote>
|
<blockquote>
|
||||||
<p>1.Export PDF supports pagination export based on image size.</p>
|
<p>1.Export PDF supports pagination export based on image size.</p>
|
||||||
<p>2.Exporting PDF supports automatic direction adjustment based on aspect ratio.</p>
|
<p>2.Exporting PDF supports automatic direction adjustment based on aspect ratio.</p>
|
||||||
@ -10,7 +12,7 @@
|
|||||||
<p>4.Add a configuration that prohibits mouse wheel scaling.</p>
|
<p>4.Add a configuration that prohibits mouse wheel scaling.</p>
|
||||||
<p>5.Supports passing error handling functions.</p>
|
<p>5.Supports passing error handling functions.</p>
|
||||||
</blockquote>
|
</blockquote>
|
||||||
<p>修复:</p>
|
<p>Fix:</p>
|
||||||
<blockquote>
|
<blockquote>
|
||||||
<p>1.Fix the issue of displaying exceptions when node text is empty.</p>
|
<p>1.Fix the issue of displaying exceptions when node text is empty.</p>
|
||||||
<p>2.Change the paddingX and paddingY of exported SVG graphics to single sided padding.</p>
|
<p>2.Change the paddingX and paddingY of exported SVG graphics to single sided padding.</p>
|
||||||
|
|||||||
@ -1,5 +1,9 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## 0.6.15-fix.2
|
||||||
|
|
||||||
|
修复:修复在Firefox浏览器中富文本节点无法显示的问题。
|
||||||
|
|
||||||
## 0.6.15-fix.1
|
## 0.6.15-fix.1
|
||||||
|
|
||||||
新增:
|
新增:
|
||||||
|
|||||||
@ -1,6 +1,8 @@
|
|||||||
<template>
|
<template>
|
||||||
<div>
|
<div>
|
||||||
<h1>Changelog</h1>
|
<h1>Changelog</h1>
|
||||||
|
<h2>0.6.15-fix.2</h2>
|
||||||
|
<p>修复:修复在Firefox浏览器中富文本节点无法显示的问题。</p>
|
||||||
<h2>0.6.15-fix.1</h2>
|
<h2>0.6.15-fix.1</h2>
|
||||||
<p>新增:</p>
|
<p>新增:</p>
|
||||||
<blockquote>
|
<blockquote>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user