silverstripe / silverstripe-asset-admin

Silverstripe assets gallery for asset management
BSD 3-Clause "New" or "Revised" License
20 stars 79 forks source link

FIX Use correct selection logic for tinymce #1296

Closed GuySartorelli closed 2 years ago

GuySartorelli commented 2 years ago

If you select some content and then try to add a link, it should use the text you have selected - but the selection logic wasn't working, so you had to re-enter the text into the link dialog window.

This PR uses the new selection logic from https://github.com/silverstripe/silverstripe-admin/pull/1372 which fixes the above issue.

Parent issue