How to configure CKBox

Created on 26 April 2023, over 1 year ago

Importing from word and images

Hi,

I've installed and setup this module and signed up for a free trial as laid out in the documentation here https://www.drupal.org/docs/contributed-modules/ckeditor-5-premium-featu... β†’

I'm using the import from word plugin, however when the docx file gets imported, the image src is src="data:image/jpeg;base64. How can I get this to work so that images are rendered using a media entity.

Failing that how can I configure the module so that images are served from ckbox?

Thanks,
Bez

πŸ’¬ Support request
Status

Active

Version

1.0

Component

Miscellaneous

Created by

πŸ‡¬πŸ‡§United Kingdom bezlash@gmail.com

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @bezlash@gmail.com
  • πŸ‡΅πŸ‡±Poland salmonek

    Hi @bezlashgmailcom

    There is no CKBox integration for Drupal yet.

    Unfortunately we do not have anything implemented to save a base64 image as media after importing from word.
    We'll check what are possibilities and notify here once we have any update to this matter.

  • πŸ‡΅πŸ‡±Poland salmonek

    Hi @bezlashgmailcom

    I have some status update for you.
    In order to save images in CKEditor 5 as Drupal files you need to have Image module enabled and image uploads enabled within text format configuration:

    In 1.2.1 release of Premium features module we have fixed an issue occurring when there were more than one image in imported content.

    As for media integration there is currently a ticket to support this in general in CKE 5: https://www.drupal.org/project/drupal/issues/3196593 πŸ“Œ Ease the transition to Media: save image uploads in CKEditor 5 as media entities when media is enabled? Needs work
    There is a PoC patch that will use a default image media entity type.
    In our team we're thinking about a dynamic configuration where a site admin could set a target media entity type and target field within.
    I'll notify in case we have some progress on that.

  • Is there an indication that CKBOX will be integrated?

  • πŸ‡΅πŸ‡±Poland salmonek

    Hi @e2euser,
    Currently there isn't a specified plan for this integration. However, we'll take your post as an upvote for this feature.

  • πŸ‡΅πŸ‡±Poland salmonek

    Import images to media entities had been added in version 1.2.5

    We'll be looking into CKBox integration soon. We have such scenarios on mind for implementation.

    1. Plugin for CKEditor 5 to add image hosted on CKBox as it works in one of our demos - https://ckeditor.com/ckbox/demo/#ckeditor-with-ckbox
    2. Similar as above, but import into Drupal filesystem instead of linking to CKBox
    3. CKBox as a source for media entities

    If you have other ideas for CKBox implementation don't hesitate to share your ideas.

  • Status changed to Closed: works as designed 3 months ago
  • At this time, we do not have plans to release an official CKBox integration for Drupal. However, if you are a customer and would like to explore integrating CKBox with Drupal, please contact us directly. We’d be happy to discuss your needs and see how we can assist you.

  • πŸ‡ΊπŸ‡ΈUnited States joshuasosa

    +1 for CKBox. Or otherwise getting its image editor into Drupal somehow would be great.

Production build 0.71.5 2024