Skip to content

HTML Code was modified in wrong way #138

Description

@romFle

Describe the bug
Hello,
when I enter HTML-Code inside code view and then switch to editor view the code was formatted in a wrong way which destroy the design of my Joomla articles. This error only occurs in current JCE version 2.9.93. I switched back to version 2.9.89 and everything works as expected.

Steps to reproduce the behavior:

  1. Enter following code in JCE code view
Image
  1. Switch to editor view
  2. Switch back to code view
  3. Now the HTML code has changed to
Image

Expected behavior
The HTML codes will not be changed. The IMG-tag will stay inside the figure tag and will not be placed outside

Screenshots

after modification it looks like this..

Image

the original with image inside figure tag looks like this

Image

Desktop (please complete the following information):

  • OS: Windows 11
  • Browser: Firefox or Chrome
  • Version current version
  • Joomla: 5.3.3

Smartphone (please complete the following information):

  • Device: Motorola edge 50 neo
  • OS: Android 15
  • Browser Firefox or Chrome
  • Version: current version

Additional context

Hope You could solve this problem cause I love the JCE editor..
Kind regards
Roman

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions