Make WordPress Core

Opened 8 years ago

Closed 5 years ago

#35159 closed defect (bug) (reported-upstream)

Email addresses with periods in bulleted text truncated upon copy/paste

Reported by: jiveconsulting's profile jiveconsulting Owned by:
Milestone: Priority: normal
Severity: normal Version: 4.2.2
Component: Editor Keywords: reporter-feedback
Focuses: Cc:

Description

A colleague of mine had recently tried to copy/paste a large Word document into a post using the Visual editor but noticed that many of the email addresses were truncating.

With some testing, I have been able to replicate this with email addresses that are in a list (ul in this case) and with one or more periods in the first half of the email address (i.e. firstname.lastname@). The truncation only appears in the display text, not the underlying html and is cut at the first period, leaving just the lastname@ portion (see screenshots for example).

To test, type a test paragraph or just an email with a period in the mailbox, then a second email with a period in the mailbox name but this time in a bulleted list into a Word document. Copy/paste this into a new post to see the bug.

Unfortunately, I am not an admin on this particular site and so cannot tell you at this time what plugins we have installed but I have asked the admin to get me a list (as well as have his blessing for posting this year, no toes getting stepped on). I will post the plugins as soon as I hear back but I do not believe that we have many installed beyond the defaults. I have asked that the admin update the system and I can test again with the newer version. I will continue to update this note as I find more information.

Attachments (1)

blog-screenshot.jpg (306.1 KB) - added by jiveconsulting 8 years ago.
Screenshot of possible email text truncation bug.

Download all attachments as: .zip

Change History (5)

@jiveconsulting
8 years ago

Screenshot of possible email text truncation bug.

#1 @azaozz
8 years ago

  • Keywords reporter-feedback added

Hi @jiveconsulting, thanks for the bug report.

This sounds like a bug in TinyMCE itself. Could you try to reproduce it on their demo page: https://www.tinymce.com/docs/demo/basic-example/, and if successful, open a ticket on their issues tracker: https://github.com/tinymce/tinymce/issues (and perhaps paste a link to it here so we can follow up).

#2 @jiveconsulting
8 years ago

You are correct @azaozz. I'll submit a ticket to TinyMCE (not sure why that didn't occur to me earlier). I'm not sure how WP integrates TinyMCE (I assume they keep it updated automatically).

I assume we should close this ticket then? Leaving it open just in case that's helpful for tracking. If not, close away or I can.

#4 @isabel_brison
5 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to reported-upstream
  • Status changed from new to closed

Resolving this issue as it has been fixed in TinyMCE.

Note: See TracTickets for help on using tickets.