Skip to content

set data-cke-saved-href attribute#6

Open
mb21 wants to merge 2 commits into
EDpuzzle:masterfrom
mb21:master
Open

set data-cke-saved-href attribute#6
mb21 wants to merge 2 commits into
EDpuzzle:masterfrom
mb21:master

Conversation

@mb21
Copy link
Copy Markdown

@mb21 mb21 commented Apr 9, 2016

this fixes a bug where changing the href/url of a link wouldn't be updated in the HTML returned by editor.getData().

To reproduce:

  1. make a link with href="/oldlink
  2. save document (using editor.setData( editor.getData() ))
  3. position cursor in link, click SimpleLink button, update href to /newlink
  4. save document using editor.getData()
  5. observe that link has still href="/oldlink"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant