alkacon / opencms-core

The Java open source content management system by Alkacon Software
http://www.opencms.org
GNU Lesser General Public License v2.1
520 stars 575 forks source link

Restore the possibility to remove link only from one word in html widget without lost words #757

Closed acasini94 closed 1 year ago

acasini94 commented 1 year ago

If we have to edit a link in a html widget for reduce the text linked, we have to remove all the link (if i use 'remove link') or we lost some words (if I use 'edit link'). For instance: if I have a link like this my link, and later I want to unlink only the word "my", if I select only the word and click on "remove link" on the widget, I remove all the link and not only a part. We didn't have this problem in version 10.5, but only from version 11. If iI use 'edit link' instead, if I change text in 'text to display' to 'link' (without 'my'), I lost the word and I have to reinsert it without the link. Thanks a lot

gWestenberger commented 1 year ago

This seems to be a change in how TinyMCE does things - see https://www.tiny.cloud/docs/demo/basic-example/ , it behaves the same way - and is not easily fixable in OpenCms.