Jump to content
Sign in to follow this  
Mike Rockett

[Core] InputfieldCKEditor: Skins

Recommended Posts

Greets :)

I'm using the dev-build of PW for one of my sites (obviously will upgrade to 2.5 when released).

I'm not a huge fan of the default CKEditor skin, and would like to use the office2013 theme instead.

How would I go about doing that?

Update

I have tried adding a skins directory in site/modules/InputfieldCKEditor and loading the skin via config.js, but it looks for the skin in the wire/modules/Inputfield/InputfieldCKEditor/ckeditor-4.4.3/skins directory... Any way to change that?

Update (again)

This works, but isn't so elegant:

../../../../../../../site/modules/InputfieldCKEditor/skins/office2013

Surely one could make it so that it looks in both the `wire` and `site` directories for skins?

  • Like 3

Share this post


Link to post
Share on other sites

Hi Mike - does this help: http://stackoverflow.com/questions/17863112/ckeditor-move-skins-folder-somewhere-else ?

I think that link is saying that using just / instead of using all those ../ will get you to the root of your site so maybe something like /site/modules/InputfieldCKEditor/skins/office2013 would work.

Hi Pete, unfortunately that doesn't work... It just uses two slashes somewhere in the middle of the path...

wire/modules/Inputfield/InputfieldCKEditor/ckeditor-4.4.3/skins//site/modules/InputfieldCKEditor/skins/office2013

See my post below. Also, I didn't realise before that you had to specify a skin name before the path. I tried without it, and it gave my the result as striked-out above.

Share this post


Link to post
Share on other sites

Okay wait - ignore my previous post. It does actually work (where you use the skin name first, and then the root-relative path to its folder), but it won't load because the following URLs are forbidden (403):

/site/modules/InputfieldCKEditor/skins/office2013/?t=E6FDskin.js

/site/modules/InputfieldCKEditor/skins/office2013/?t=E6FDeditor.css

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • By AndréPortuga
      Does anyone knows if there is a way of selecting a iframe inside a textfield(using ckEditor)? 
      I mean I have a Iframe with this code:
      <iframe allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen="" frameborder="0" height="315" scrolling="no" src="https://www.youtube.com/embed/PMaFJjZDrYM" width="100%"></iframe></p>
       
      but it's not getting responsive in iPhones.. So anyone know how can I select it via code for making it responsive?
       
      Thank you,
    • By dragan
      On one particular site, CKEditor behaves rather weird:
      When I copy and paste "normally", i.e. CTRL + V, there is an alert popping up "do you really want to leave this page?". If you cancel, the text is pasted into the field. If not, you get redirected to the frontend of the page you just edited, and the changes are lost.
      The "paste from Word" button doesn't work. CTRL + SHIFT + V works, but all formatting is lost (apart from paragraphs).
      I'm using inline editor mode, ACF + Purifier are activated. I know that if I disable those two, CTRL + V works, but I won't do that, since CKE then saves all the garbage code from MS-Office.
      Has anyone ever come across this issue? I tried with Chrome + FF. No JS errors.
    • By AndZyk
      Hello,
      I am currently building a intranet which will be hosted on the local network of a company. This intranet has many links to files on their fileserver with the protocol file://.
      So for example the links look like this file://domain.tld/filename.ext
      When I try to insert such a link into a URL field, I get the error, that only the protocol http:// is allowed. When I try to insert such a link into a CKEeditor link, it gets stripped out. Is it possible to insert such links into the FieldType URL and CKEditor.
      I know that I could use a FieldType Text or insert a RewriteRule in the .htaccess file, but I am looking for a more elegant solution. 😉
      Regards, Andreas
    • By prestoav
      Hi folks.
      I'm building a Formbuilder form to create new advert pages in a marketplace. Formbuilder is ideal for this. I need to add a description field that allows text to be added with line breaks etc. so showing a CKEditor field would be ideal (i.e. exactly like the field I'm typing into right now)!.
      Does anyone know if it's possible to add a CKEditor field to the front end presentation fo a Formbuilder field, maybe via a module or such?
      Many thanks!
    • By Roberts R
      Hello.
      I never though about it before but when I insert image into CKeditor field I don't get ALT tag filled from image that has it. Do I have to do it manualy for inserted image or Im doing something wrong?
       
×
×
  • Create New...