Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

set data-cke-saved-href attribute #6

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

mb21
Copy link

@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