Details
-
Bug
-
Resolution: Cannot Reproduce
-
Minor
-
None
-
5.1
-
None
-
Chrome/Linux
-
Unknown
-
Description
Chrome adds under some circurmstances markups.
Scenario 1: Copy'n'Paste
1. Inside the WYSIWYG-Editor write: "This is bold and this is italic." and change the format of both words 'bold' and 'italic' appropriate.
2. Copy the line
You can paste the line either in the WYSIWIG-Editor or in another editor. Chrome adds annoying style markups. For example if your just copy and paste the line beneath the copied one, you will get following code in xwiki syntax:
This is **bold **and this is ##italic##. (% style="font-family: sans-serif; font-size: 14px; font-style: normal; line-height: 19.59375px; text-align: start;" %)This is (% style="font-family: sans-serif; font-size: 14px; font-style: normal; font-weight: 700; text-align: start; line-height: 19.59375px;" %)bold (% style="font-family: sans-serif; font-size: 14px; font-style: normal; line-height: 19.59375px; text-align: start;" %)and this is (% style="font-size: 11px; font-style: normal; text-align: start;" %)##italic##(% style="font-family: sans-serif; font-size: 14px; font-style: normal; line-height: 19.59375px; text-align: start;" %).
Scenario 2: creating a bulletlist from existing text in WYSIWIG editor
Example:
1. Click bullet icon
2. Type text
Source looks like:
* text
1. Type text
2. Press enter
3. Move cursor up, in front of previously typed text
4. Click bullet icon
Source looks like:
* (% style="font-size: 14px;" %)text
This happens only in Chrome.
Attachments
Issue Links
- is duplicated by
-
XWIKI-9700 Produce cleaner code in Editor
- Closed