Open Bug 1516268 Opened 5 years ago Updated 2 years ago

tinymce not working properly in 64 version, in 63 works fine

Categories

(Core :: Layout: Images, Video, and HTML Frames, defect, P2)

64 Branch
defect

Tracking

()

Tracking Status
firefox-esr60 --- unaffected
firefox64 --- wontfix
firefox65 --- wontfix
firefox66 --- wontfix
firefox67 --- wontfix
firefox68 --- fix-optional

People

(Reporter: zitalman, Unassigned)

References

Details

(Keywords: regression, site-compat)

Attachments

(1 file)

Attached image ff_64_fail.png
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:64.0) Gecko/20100101 Firefox/64.0

Steps to reproduce:

Insert an image in tinymce v3 WYSIWYG tool


Actual results:

The image is inserted correctly, but I can choose it to resize it.


Expected results:

The image is clicked and the editor added a border to resize it.

In Firefox 63 version works fine
>Insert an image in tinymce v3 WYSIWYG tool
Please provide an URL or attach a testcase as file to this report.

The resize works for me using https://www.tiny.cloud/docs/demo/full-featured/ and Firefox64 and Firefox66 nightly on windows.
Flags: needinfo?(zitalman)
AFAIK, This behavior is as designed and introduced by Bug 1490641. 
And It is reproduced on TinyMCE V3. 
But, It seems to be already fixed on latest TinyMCE V4(https://www.tiny.cloud/docs/demo/full-featured/).
Blocks: 1490641
Keywords: site-compat
Oddly, TinyMCE does not enable our resizers:
https://github.com/tinymce/tinymce/search?q=enableObjectResizing&unscoped_q=enableObjectResizing
I.e., they are using their own resizers.
FYI: changing editor.resizing.enabled_by_default, editor.inline_table_editing.enabled_by_default and/or editor.positioning.enabled_by_default to true in about:config making the UI shown by default like 63 and earlier.
We use a customized TinyMCE v3 version, and if we upgraded to v4 we need to port all our code, but thanks for the help.
Flags: needinfo?(zitalman)
(In reply to zitalman from comment #5)
> We use a customized TinyMCE v3 version, and if we upgraded to v4 we need to
> port all our code, but thanks for the help.

Does comment 4 "fix" on your apps? If so, you can fix this with adding the following execCommand()s at initialization.

document.execCommand("enableObjectResizing", false, true); // Only this may be fine.
document.execCommand("enableInlineTableEditing", false, true); // for <table> elements.
document.execCommand("enableAbsolutePositionEditing", false, true); // for position:absolute elements.
Flags: needinfo?(zitalman)
It doesn't work
Flags: needinfo?(zitalman)
(In reply to zitalman from comment #7)
> It doesn't work

Thanks, but sounds really odd... We need to find the fixing commit of TinyMCE v4.
I think there is an open issue on Tinymice side (on GitHub). Is this the same issue?
https://github.com/tinymce/tinymce/issues/4714
Or maybe this other one?
https://github.com/tinymce/tinymce/pull/4640

I can't see any other way to help as using the tool seems a bit complicated, but if a dev sais that it is necessary, I will do my best to learn to use the tool and reproduce the issue. NI? me if further testing is needed.

Furthermore, I will set this bug's component as (Core) Layout: Images, Videos and HTML Frames. If this is incorrect, please choose a more appropriate one.
Component: Untriaged → Layout: Images, Video, and HTML Frames
Product: Firefox → Core
(In reply to Bodea Daniel [:danibodea] from comment #9)
> I think there is an open issue on Tinymice side (on GitHub). Is this the
> same issue?
> https://github.com/tinymce/tinymce/issues/4714
> Or maybe this other one?
> https://github.com/tinymce/tinymce/pull/4640
> 
> I can't see any other way to help as using the tool seems a bit complicated,
> but if a dev sais that it is necessary, I will do my best to learn to use
> the tool and reproduce the issue. NI? me if further testing is needed.
> 
> Furthermore, I will set this bug's component as (Core) Layout: Images,
> Videos and HTML Frames. If this is incorrect, please choose a more
> appropriate one.

Yes, It is, but we started porting the code to tinymce4
Priority: -- → P2
Keywords: regression

Happy to take a patch in nightly 67, or potentially, in beta 66 for this.
Marking as fix-optional to remove it from weekly regression triage, since there is a priority assigned.

Well, we need a URI of TinyMCE v3 instance to investigate whether we can include a hack like bug 1514940. However, nobody comments the examples here...

tinymcev3.tar.gz
https://ufile.io/y1edv

Well, we need a URI of TinyMCE v3 instance to investigate whether we can include a hack like bug 1514940. However, nobody comments the examples here...

How about:
http://fiddle.tinymce.com/zEgaab

Bulk change for all regression bugs with status-firefox67 as 'fix-optional' to be marked 'affected' for status-firefox68.

Do we want to do anything here? http://fiddle.tinymce.com/zEgaab from Comment 14 does reproduce this issue but the behavior is same on Chrome.

The bug has a release status flag that shows some version of Firefox is affected, thus it will be considered confirmed.

Status: UNCONFIRMED → NEW
Ever confirmed: true
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: