bitpoet / processckinlinecomplete Goto Github PK
View Code? Open in Web Editor NEWProcessWire module that adds extensible inline autocompletion to CKEditor
License: MIT License
ProcessWire module that adds extensible inline autocompletion to CKEditor
License: MIT License
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;
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...
}
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.
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;
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.