joe_g Posted November 9, 2021 Share Posted November 9, 2021 Hi there, I'm trying to install the 'detail' plugin https://github.com/akilli/ckeditor4-detail But, after enabling it i get a 404 in the network tab and the text field doesn't display at all:http://domain.com/wire/modules/Inputfield/InputfieldCKEditor/ckeditor-4.12.1/plugins/api/plugin.js?t=2015030801.162 The plugin isn't supposed to have any dependencies.. I think. Also the 'api' folder doesn't exist under plugins. So now I'm not sure how to go troubleshoot this further. thanks! J Link to comment Share on other sites More sharing options...
virtualgadjo Posted November 16, 2021 Share Posted November 16, 2021 Hi, if you look at the plugin js source code, you'll see its dependencies requires: 'api,widget', and, downloading those ckeditor addons, you'll see widget has quite a lot too so, first, you'll have to download thosehttps://ckeditor.com/cke4/addon/apihttps://ckeditor.com/cke4/addon/widgethttps://ckeditor.com/cke4/addon/clipboardhttps://ckeditor.com/cke4/addon/notificationhttps://ckeditor.com/cke4/addon/lineutils they are not default plugins installed in pw then, well, i suppose you've put the detail plugin files in a... detail folder in your /site/modules/InputfieldCKEditor/plugins folder, do the same with all those plugins folders too but it's not finished ? go to your ckeditor field input tab and allow all those plugins and, afterwards but considering your post i think you've already done this, add Detail to your ckeditor toolbar, job done ? ckeditor is highly configurable but it's not always that simple ? have a nice day 1 Link to comment Share on other sites More sharing options...
joe_g Posted November 18, 2021 Author Share Posted November 18, 2021 Amazing. Thank you! It works perfectly. What wasn't clear to me is how the dependencies translated to PW. Now I know: 1. look in the source for all dependencies recursively until I there is no more 2. download all of them 3. add all of them to PW 4. enable all of them 5. profit What's your thoughts on using the online ckeditor builder? When I try it out it gives a whole package with lots of stuff - of which some would maybe conflict with PW's install, perhaps. Table, for example is already installed. The whole CKEditor ecosystem is seemingly really powerful, but would be good to have a more automated process for installing it. J Link to comment Share on other sites More sharing options...
virtualgadjo Posted November 18, 2021 Share Posted November 18, 2021 Hi @joe_g great, good to hear everything works fine ? you'll see, in certain cases you'll also have to use a personal config.js file for your ckeditor but usually pw does the job without help ? have a nice day Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now