Alex
Alex

Reputation: 9720

CKEditor change my html

I want to create 2 span's, first with big-text and the second with small text enter image description here

after saving its generate another html

enter image description here

how to save my original html, how disable auto correction?

Upvotes: 0

Views: 248

Answers (1)

Reinmar
Reinmar

Reputation: 22023

You cannot disable the autocorrection. There are two reasons why:

  • CKEditor needs a valid HTML which also has to be filtered in a special way, so it can be edited in contenteditable element without problems.
  • CKEditor passes data through browsers (because contenteditable is a native feature) which also correct some of mistakes, but usually browsers are more forgiving.

Upvotes: 0

Related Questions