Skip to content

pwimage CKE plugin does not respect ProcessPageEditImageSelect noSizeAttr option #385

@abdusco

Description

@abdusco

Short description of the issue

Link to the discussion

Expected behavior

tag is inserted without width attribute

Actual behavior

data-nosize is ignored and tag is inserted with width attribute as long as selected image has its width set.

Optional: Suggestion for a possible fix

I created a PR with a fix:
processwire/processwire#91

Steps to reproduce the issue

  1. Go to ProcessPageEditImageSelect module configuration and uncheck "skip width attribute on images"
  2. Edit a page with CKE editor, add an image, check source, it shows up with width attribute.

Setup/Environment

PW 3.0.75

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