Opened 8 years ago
Closed 7 years ago
#42876 closed defect (bug) (wontfix)
Bug in wordpress editor
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 4.9 |
Component: | Editor | Keywords: | |
Focuses: | Cc: |
Description
Hi there,
I found one issue in wordpress visiul editor, when we copy text from ms word, like
- williams
Editor converts it to
- Williams,
Please check
Attachments (2)
Change History (3)
Note: See
TracTickets for help on using
tickets.
Hi @hemrajrs and welcome to Trac.
This appears to be due to a shortcoming of pasting content from Word. The browser doesn't get any markup which allows the editor to know what the source content is. "j. williams" matches the format of a list so is assumed to be a list.
You can change this by changing WordPress to "paste as text", which in the standard WordPress editor on the second line, I'll upload an image of that shortly, but you don't appear to be using the standard WordPress editor, so I can't tell if this response even applies to your case.
I'm closing this as
wontfix
as although it's annoying, it's working as intended currently. The behaviour might change in WordPress 5.0 with Gutenberg.Reference for others:
https://core.trac.wordpress.org/browser/trunk/src/wp-includes/js/tinymce/plugins/paste/plugin.js?marks=907-929#L900