?
avatar barsan-md
barsan-md
12 Feb 2021

Steps to reproduce the issue

Create an article and insert an image. Right click on the image to modify its settings. Modify the values of the vertical or horizontale space (-70px for example). Click save and reopen the same dialog. The value you inserted will appear without the px, just -70. Try to modify it by inserting -80. Won't change.
Cattura

Expected result

Either the value shown when reopening is -70px or it will accept -80 as a valid input

Actual result

The value doesn't change

Additional comments

Not sure if related to Joomla or just the editor though.
With positive values works correctly

avatar barsan-md barsan-md - open - 12 Feb 2021
avatar joomla-cms-bot joomla-cms-bot - change - 12 Feb 2021
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 12 Feb 2021
avatar barsan-md barsan-md - change - 12 Feb 2021
The description was changed
avatar barsan-md barsan-md - edited - 12 Feb 2021
avatar sandramay0905
sandramay0905 - comment - 10 Apr 2021

Issue confirming.

avatar brianteeman
brianteeman - comment - 7 May 2021

Not sure if related to Joomla or just the editor though.

The tinyMCE does not let you have negative values here. You can confirm this using their demo site
https://www.tiny.cloud/docs/demo/full-featured/#fullfeaturednon-premiumplugins

Sorry but there is nothing Joomla can do about that

avatar barsan-md
barsan-md - comment - 8 May 2021

But it works if you insert a negative value with "px". The issue is that it is incoherent to show an integer value (without "px") in Vertical or Horizontal space text input while in reality the value is in pixel, it works if you use pixel but doesn't if you use integer. The problem is that an integer is what you are suggested to use.

Screenshot_20210508-092650

On mobile it uses an integer only keyboard but you still can paste px text.

Anyway I guess you can close if it is a tinymce only issue. Thanks

avatar brianteeman
brianteeman - comment - 10 May 2021

Please close

avatar barsan-md barsan-md - change - 10 May 2021
Status New Closed
Closed_Date 0000-00-00 00:00:00 2021-05-10 09:46:22
Closed_By barsan-md
avatar barsan-md barsan-md - close - 10 May 2021

Add a Comment

Login with GitHub to post a comment