Opened 8 years ago

Last modified 8 years ago

#14814 closed Bug

Using Firefox Nightly and switching between source / normal mode adds a newline to <pre> blocks — at Version 2

Reported by: SphinxK Owned by:
Priority: Normal Milestone:
Component: UI : Source View Version: 4.5.11
Keywords: Cc:

Description (last modified by Jakub Ś)

Steps to reproduce

  1. Use http://nightly.ckeditor.com to type some text
  2. Switch to source mode and add <pre>foo bar</pre>
  3. Switch back to visual mode
  4. Switch again between source and visual mode

Expected result

No side effects from switching between modes

Actual result

A newline is added right after the opening <pre ...> tag, each switch adds another newline.

Other details (browser, OS, CKEditor version, installed plugins)

I reproduce this with Firefox Nightly only and on MDN (e.g. https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_objects/Map/set$edit ).

I'm sorry I cannot go further analyzing the issue with my knowledge.

Change History (2)

comment:1 Changed 8 years ago by Jakub Ś

I haven't been able to reproduce this in st.able FireFox 48.0.1 in my loacal CKEditor as well as ten one on MDN - both are 4.5.10

comment:2 Changed 8 years ago by Jakub Ś

Description: modified (diff)

I confirm this issue for Firefox nightly. You just insert <pre>foo bar</pre>, switch modes and spaces get added.

We could check whether this is CKEditor or Firefox issue.

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy