Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Would like to add some functionality in PR #28

Open
jonathanfishbein1 opened this issue Dec 6, 2017 · 0 comments
Open

Would like to add some functionality in PR #28

jonathanfishbein1 opened this issue Dec 6, 2017 · 0 comments

Comments

@jonathanfishbein1
Copy link

Can I add the following methods? Just want some kind of go ahead?

  getModule: function (name) {
    return this.quill.getModule.apply(this.quill, arguments)
  },
  addContainer: function (domNode, refNode) {
    return this.quill.addContainer.apply(this.quill, arguments)
  },
  getContents: function (index, length) {
    return this.quill.getContents.apply(this.quill, arguments)
  }


  _enableChanged: function (newValue, oldValue) {
    console.log('newValue ', newValue)
    if (newValue === false) {
      this.async(function () {
        this.disableEditor()
      }, this.delay)
    }
  },
    enable: {
      type: String,
      value: 'true',
      notify: true,
      observer: '_enableChanged'
    },
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant