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
Suggestion for adding target=_bkank for menu items
in the config:
- identifier: text-editor
name: Text editor
url: https://onlinenotepad.org/app
params:
target: _blank
In the header.html partial template code (at the end).
It adss a little bit of logic that creates and populates a $targetBlank string
Ot then outputs this string in the <a href part
I was about to suggest more or less the same change.
However, I think that this option should not explicitly expect _blank, but rather something like isExternal. It makes more sense to me since in your example the only valid value for Params.target is _blank. Also, it somehow abstract the implementation details (ie. the target option value being _blank).
Suggestion for adding target=_bkank for menu items
in the config:
- identifier: text-editor
name: Text editor
url: https://onlinenotepad.org/app
params:
target: _blank
In the header.html partial template code (at the end).
It adss a little bit of logic that creates and populates a $targetBlank string
Ot then outputs this string in the <a href part
Originally posted by @markbeachill in #1705
The text was updated successfully, but these errors were encountered: