Jump to content

CKEditor's image description with the image field description by default


Christophe
 Share

Recommended Posts

For a project, I had to create a "Logos" parent page, then lots of pages, each one with a logo (with just the Title and Image fields).

Each time a page needed a logo from CKEditor, it took a (relative) certain time to go in the "framed" tree to select it, and at the same time, in another tab, to copy the image field description for that logo.

I often needed several logos in the page.

It would perhaps be nice to have the CKEditor image description "importing" the image field description by default for a given image (1).

Also, I don't remember now, I'll have to check again if it's already possible to select several (page) images at once (2). In this case, it would also save time if they appeared with their image field descriptions by default (but also if we could also modify them if needed/wanted).

In both cases, we could leave them as they are or modify them before inserting them in CKEditor.

For image field images that were in the same pages where I had to insert them, I also wanted to enter the same description in CKEditor, so I also had to copy-paste them each time.

I'm using version 2.6.1, so perhaps this already exists in the latest versions.

Would it be interesting? Would it be difficult to implement (1) (and perhaps (2))?

I haven't found yet if this has already been discussed.

Link to comment
Share on other sites

  • 4 weeks later...

It appears that if I have the "Markup/HTML with image management" option activated at Content Type in the Details tab (Admin > Setup > Fields > Edit Field: theckeditorfield), it works by default.

https://processwire.com/api/fieldtypes/textarea-fieldtype/#content-type

I'll have to check if it works also with images coming from other pages, but it's probably the case.

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...