GithubHelp home page GithubHelp logo

fudax / vue-mindeditor Goto Github PK

View Code? Open in Web Editor NEW
209.0 4.0 85.0 2.75 MB

基于fex-team/kityminder-core和Vue2封装的在线脑图编辑功能

License: BSD 3-Clause "New" or "Revised" License

JavaScript 62.12% HTML 0.16% Vue 27.28% SCSS 10.45%

vue-mindeditor's Introduction

Vue-MindEditor based on fex-team/kityminder-core

百度脑图的基础上修改:

  • 改为Vue2组件实现,基于Webpack4打包
  • 删除图片、链接、备注的支持
  • 合并样式菜单到编辑菜单,菜单从原先的三个变为两个
  • 删除编辑菜单上的撤销、重做按钮,改为快捷键和鼠标右键支持
  • 删除多主题支持和打标签功能
  • 移除搜索功能
  • 文件存储置于本地localStorage(参见main_editor.vue),需要导出或者另存可以自行修改

Build Setup

# install npm dependencies
    npm install

# serve with hot reload at localhost:8088
    npm run dev

# build for production with minification
    npm run build

# License
    BSD 3-Clause (基于fex-team/kityminder-core,并非kityminder-editor)

最近比较忙,抽空我再更新一下代码和说明,建议大家自己先研究,加油!

vue-mindeditor's People

Contributors

fudax avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

vue-mindeditor's Issues

在主题切换事件中少了个self

#src\components\main_editor\navigator.vue
old:
minder.on("themechange", function(e) {
pathHandler = self.getPathHandler(e.theme);
});
new:
minder.on("themechange", function(e) {
self.pathHandler = self.getPathHandler(e.theme);
});

1

老哥在吗交流一下

大神求助

大神能否添加mind备注和搜索功能哇,拜托拜托了,前端小渣拜读大神代码,只觉得转化的很棒但还是模仿不来o(╥﹏╥)o

为什么 npm run dev 打开的不是 localhost ?

image
监听端口为 http://2408:8452:677:e打码打码3a6:3526:9cce:8088
是一个大概这样的链接,我不懂webpack,实在搜不到为什么会出现这个问题

手动打开localhost:8088是可以的,但是我想知道为什么会出现这样的情况

在回显一个json数据时,报异常

kityminder.core.js?7101:605 Uncaught TypeError: Cannot read property 'currentstyle' of undefined
at c_113_120 (kityminder.core.js?7101:605)
at compatibility (kityminder.core.js?7101:565)
at Minder.importJson (kityminder.core.js?7101:944)
at eval

currentstyle 这个什么意思
大神 可以帮忙看下吗

define is not defined

在本地项目没问题,但是运行npm run build 以后就报 define is not defined这个错误怎么办啊!!!!!!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.