Skip to content

Safari / CkEditor deleting content #1335

@adrianbj

Description

@adrianbj

Short description of the issue

Safari will delete the rest of the fields content when an image is placed at the very top.

I've seen this on two different sites and two different computers.

Optional: Screenshots/Links that demonstrate the issue

Your screenshots/links go here.
z6oP3Sjvfq

Steps to reproduce the issue

  1. Using Safari, create content in a CkEditor field with an image before any other content. When inserting you must check the "caption" checkbox so that PW will wrap it in a

    tag. Now add some text below the image.

  2. Save the page.

  3. Now, select that image and click the Image button the CkEditor toolbar (or right click on it and select image properties). You can make a change if you want, but even clicking "Insert Image" without changes will work. Do that, and you'll see that all content below the image is gone.

If you add a sentence before the image, you'll see that the problem no longer exists.

I'm not sure yet if this is a PW bug, or a CkEditor bug.

Setup/Environment

  • ProcessWire version: 3.0.172

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions