You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is difficult and in most cases almost impossible to deal with links when the link architecture needs to be hard coded into the template and all I want is to click-edit the link text and target.
For example, it would be super cool if this worked so that the text and link of a button could be edited without changing anything else:
<a data-editable data-name="sbt-toplink" class="button-class" href="https://www.edit_this_target.html">
<span>edit this text</span>
</a>
The text was updated successfully, but these errors were encountered:
We use this approach in ContentFlow and snippets a lot, so for example we might have a header snippet or a call to action banner snippet that we insert into the page and we want to have a stylised button where only the text and link (and target blank) options can be changed.
Is this what you're after? If so would still be possible in a refined future release of ContentTools/Flow.
I haven't been able to get anything related to data-fixture to work, even your example above doesn't go into edit mode when I click the pencil. Was hoping this could just be made consistent with how other editable areas work.
Or perhaps if it's just difficult to get that working, maybe the most straightforward way of editing the link and link text would be if you were able to enhance the properties dialog box for a link element in a way that the link text and url only were editable. That way the container (button, bar, whatever) would be protected from editing.
It is difficult and in most cases almost impossible to deal with links when the link architecture needs to be hard coded into the template and all I want is to click-edit the link text and target.
For example, it would be super cool if this worked so that the text and link of a button could be edited without changing anything else:
The text was updated successfully, but these errors were encountered: