Code Monkey home page Code Monkey logo

angular-kindeditor's People

Contributors

ochukai avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar

angular-kindeditor's Issues

github上的用法文档写错了

<div class="keditor" ng-model="content"></div>
应该换成
<textarea keditor ng-model="content" data-config="config" cols="30" rows="10" required></textarea>
或者

<div keditor ng-model="content" data-config="config"></div>

希望能更正文档,东西不错,谢谢了,加油!

kindeditor不显示了

虽然修复了model不显示的问题,可是这次整个kindeditor的界面都不显示出来了,就只有一个简单的input框?

解决数据绑定问题(不确定是否正确,但是目前来说可以用)

首先我没有用KindEditor,在看源码的时候,发现src里面的js,有KindEditor.Ready()方法。通过查资料发现,KindEditor好像并没有这个方法。去掉这个方法,同事去掉isReady的判断之后,数据就可以绑定了。
但是我并不太确定这个方法是否合理。大家可以参考下,或者找到正确的解决办法。也看了别人commit的代码,通过$watch来实现,但是不知道为什么没有合并到作者的分支上。

ng-model数据绑定问题

html:

controller:
$scope.info={content:'kkk'};

问题是,在controller中能够通过$scope.info.content获取到输入的内容,但是在controller中赋值到$scope.info.content时却无法在编辑框中显示。请问是哪里出问题了?

谢谢

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.