Allow percentage in iframe width and height

Created on 4 July 2024, 3 months ago
Updated 15 July 2024, 2 months ago

Problem/Motivation

A percentage needs to be applied to the iframe width. The plugin "modules/contrib/ckeditor_iframe/js/ckeditor5_plugins/iframeembed/src/iframeEmbedFormView.js" has the "isNumber" parameter of the createInput method set to "true", so values other than digits are not allowed to be entered.

Steps to reproduce

Create an iframe and try to enter in the "width" property the value 100%.

Proposed resolution

Remove the "true" parameter from the above-mentioned createInput method, since by default the value is false.

Feature request
Status

Needs review

Version

3.0

Component

Code

Created by

🇪🇸Spain alvolvfdez

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024