#26540 closed defect (bug) (fixed)
TinyMCE Paste thinks Firefox 20+ is old version of Firefox
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | 3.9 | Priority: | normal |
Severity: | normal | Version: | 2.8 |
Component: | TinyMCE | Keywords: | has-patch 3.9-early |
Focuses: | Cc: |
Description
TinyMCE Paste plugin thinks the latest Firefox 26 is older firefox, and only adds a Ctrl+V cleanup handler, where onPaste works all the time.
This is caused by this line in wp includes itnymce/plugins/paste/editor_plugin_src.js:
// Is it's Opera or older FF use key handler if (tinymce.isOpera || /Firefox\/2/.test(navigator.userAgent)) {
... and since it thinks it's old Firefox, it only adds keyboard handler.
Because of this, Ctrl+V and right click paste are inconsistent. Ctrl+V doesn't clean up.
Attachments (1)
Change History (7)
#2
@
11 years ago
- Keywords has-patch needs-testing added; needs-patch removed
- Version changed from trunk to 3.4
I've attached a patch with a possible fix. It looks like this dates back to [19945].
#3
@
11 years ago
- Keywords 3.9-early added
- Milestone changed from Awaiting Review to Future Release
- Version changed from 3.4 to 2.8
Introduced in [11078].
Note: See
TracTickets for help on using
tickets.
Possible patch