Code Monkey home page Code Monkey logo

processckinlinecomplete's People

Contributors

bitpoet avatar toutouwai avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

processckinlinecomplete's Issues

Image Uploading Problem

It appears that the module is interfering with image uploading; What happens is that the module returns the addPlugins() method, ck editor script stuff, even when the request is for the file upload.

adding this as the first line of the addPlugins() method fixes the upload for me:

if($this->input->get('InputfieldFileAjax')) return;

JS error when no CKEditor field in Page Edit

Error is:

Uncaught ReferenceError: CKEDITOR is not defined

Due to added JS:

CKEDITOR.plugins.addExternal('inlinecomplete', '/site/modules/ProcessCKInlineComplete/inlinecomplete/plugin.js?v=0.1.9');

I guess something like the following is needed:

if(typeof CKEDITOR !== 'undefined') {
    // add plugin...
}

Positioning on long fields

Hi -
Been using the module a lot, and it's really awesome.

One a project that i'm doing now, some of the RTE fields are super long, and the offsets don't work. The popup/select appears way down the page, as the top offset is being calculated based on the height of the iframe which is extremely long with all of that content.

I took a look at the JS and played around a bit, but not sure how to resolve the positioning issue, I couldn't figure it out. I will try and look at some other CK plugins to see maybe how any other plugins address this and see if i can come up with a fix; In the meantime I did want to check to see if you had made any progress on this positioning problem.

plugin.js should use config vars

In the plugin.js, the templates appear to be hard coded (?)

shouldn't it be like this around line 266:

var resTpl = config.resultTpl;
var cols = config.returnColumns;

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.