Giter VIP home page Giter VIP logo

Comments (5)

hinesboy avatar hinesboy commented on May 22, 2024

目前尚无

from mavoneditor.

fonglezen avatar fonglezen commented on May 22, 2024

@hinesboy 如果我要添加自定义的功能键,有什么好办法推荐?

from mavoneditor.

hinesboy avatar hinesboy commented on May 22, 2024

可以修改src目录下源码,src/components 下为toolbar的template,修改后重新打包自行引入

from mavoneditor.

fonglezen avatar fonglezen commented on May 22, 2024

@hinesboy 通过 document.getElementsByClassName('auto-textarea-block').item(0).append(this.form.vdurl.toString()); 添加内容到框中,和直接在框中输入有区别,正确用js填入内容的方式是怎样的?

<pre class="auto-textarea-block" style="font-size: 15px; line-height: 1.5;"><br># ·



&lt;iframe frameborder="0" width="640" height="498" src="https://v.qq.com/iframe/player.html?vid=b0309ciwook&amp;tiny=0&amp;auto=0" allowfullscreen&gt;&lt;/iframe&gt;

&lt;iframe frameborder="0" width="640" height="498" src="https://v.qq.com/iframe/player.html?vid=b0309ciwook&amp;tiny=0&amp;auto=0" allowfullscreen&gt;&lt;/iframe&gt;</pre>

第一个iframe是直接粘贴进去的,可以预览到视频。
第二个iframe是js插入的,不能预览到视频,左边编辑框中也没有显示出来

from mavoneditor.

hinesboy avatar hinesboy commented on May 22, 2024

auto-textarea-input 是输入框的类选择器,auto-textarea-block是用来辅助输入框自适应高度用的。
auto-textarea

from mavoneditor.

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.