Giter Club home page Giter Club logo

aurelia-trumbowyg-plugin's People

Contributors

arabsight avatar

Stargazers

 avatar

Watchers

 avatar  avatar

aurelia-trumbowyg-plugin's Issues

cursor left jump issue

Hi there,

Issue One

In version 0.1.5
cursor in text editor jumps to beginning position after every value typed.
issue is due to below code in file trumbowyg-editor.js

TrumbowygEditor.prototype.valueChanged = function valueChanged(newValue) {
    (0, _jquery2.default)(this.editor).trumbowyg('html', newValue);
  };

In version 0.1.2
cursor is working fine in editor.

Issue Two

pasted value is not updated in value binding in editor

Thanks

Best Regards,
Pratap Ranawat

defaultConfig is not defined

Hi there,
I am getting a error on browser i.e. Unhandled rejection ReferenceError: defaultConfig is not defined.
error say that in ./node_modules/aurelia-trumbowyg-plugin/dist/**/index.js

Step followed by me

  1. au new /webpack and typescript project/
  2. npm i jquery trumbowyg aurelia-trumbowyg-plugin
  3. plugin added in main.ts
    .plugin(PLATFORM.moduleName('aurelia-trumbowyg-plugin'))
  4. jquery add in wedpack.config.js
new ProvidePlugin({
      'jQuery': 'jquery'
    }),
  1. au run --watch

No error node console: compiled successful
but on browser 'Hello world!' message is not visible
on browser console shows error
Unhandled rejection ReferenceError: defaultConfig is not defined.

Please help me to find out problem.

Thanks in advance

How to use a trumbowyg plugin when using AMD module loader and typescript

Hi

For a project I'm working on, I'm using your plugin. The project is setup with

  • CLI’s built bundler and AMD module loader
  • Typescript
  • RequireJs

I'm trying to use the plugin "mention" which is documented here. In the documentation it tells us to just link the script but how I can use that plugin in my project?

I have created a test repository including a new aurelia setup with the above details and aurelia-trumbowyg-plugin installed right here

in case you would like to try it out :).

Kind regards
Karel

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.