Giter Club home page Giter Club logo

Comments (16)

PeakTai avatar PeakTai commented on June 2, 2024 3

会尽快支持的

from vue-html5-editor.

SummyGitHub avatar SummyGitHub commented on June 2, 2024 1

@PeakTai

.vue文件
<editor :content="content" :height="200" :z-index="100" :auto-height="true" :show-module-name="false" @change="updateData" ref="editor"></editor>

js引入
import VueHtml5Editor from 'vue-html5-editor' const editor = new VueHtml5Editor({ showModuleName: true, image: { sizeLimit: 512 * 1024, compress: true, width: 500, height: 500, quality: 80 }, visibleModules: [ "color", "font", "align", "list", "link", "unlink", "tabulation", "image", "hr", "eraser", "undo", "full-screen", "info", ], });
然后再在组件中引入:
components: { editor },

from vue-html5-editor.

jaweii avatar jaweii commented on June 2, 2024 1

我也是一样的情况

from vue-html5-editor.

holdno avatar holdno commented on June 2, 2024

你好,兼容vue2需要做哪些改动吗?

from vue-html5-editor.

PeakTai avatar PeakTai commented on June 2, 2024

暂时有个测试版,程序整个重构了下,使用起来没有太多改变,可以看下1.x分支。

from vue-html5-editor.

JSupot avatar JSupot commented on June 2, 2024

现在支持vue2了吗

from vue-html5-editor.

PeakTai avatar PeakTai commented on June 2, 2024

支持,还在测试中

from vue-html5-editor.

cshhs avatar cshhs commented on June 2, 2024

你好,可以出个支持vue2.0的么

from vue-html5-editor.

PeakTai avatar PeakTai commented on June 2, 2024

1.0版本(支持vue2.0)已经上传到npm,现在可以使用了。

from vue-html5-editor.

SummyGitHub avatar SummyGitHub commented on June 2, 2024

局部组件的话,具体使用方法是如何,按照说明操作的话,工具栏点击无效,还报错了You may have an infinite update loop in a component render function.

from vue-html5-editor.

PeakTai avatar PeakTai commented on June 2, 2024

@SummyGitHub 有代码吗?贴出来看下

from vue-html5-editor.

PeakTai avatar PeakTai commented on June 2, 2024

@SummyGitHub 我用的提供的代码测试了一下,没发现问题,能提供你使用的版本和完整代码吗?

from vue-html5-editor.

SummyGitHub avatar SummyGitHub commented on June 2, 2024

@PeakTai
vue : 2.1.0

完整代码你指的是整个项目吗?

from vue-html5-editor.

PeakTai avatar PeakTai commented on June 2, 2024

@SummyGitHub 我在Vue2.1.10加Vue-html5-editor 1.0.2下测试没有问题,你可以在jsfiddle或者其它演示平台上写个demo来重现吗?

from vue-html5-editor.

larryu avatar larryu commented on June 2, 2024

Same problem here. Vue 2.2.6 + Vue-html5-editor 1.1.1

from vue-html5-editor.

newnewcoder avatar newnewcoder commented on June 2, 2024

same issue with vue 2.3.3 + vue-html5-edit 1.1.1

from vue-html5-editor.

Related Issues (20)

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.