- Issue created by @mweiler
- Assigned to itmaybejj
- Status changed to Needs review
8 months ago 7:39pm 24 March 2024 - πΊπΈUnited States itmaybejj
There is not a GUI for this, but it is possible now in code, as the the tip contents are all defined in a global variable.
If you look at https://git.drupalcode.org/project/editoria11y/-/blob/2.1.x/library/js/e...
- each tip can be overridden in theme or injected JS, so long as it comes after the object is createdWriting on a phone so can't promise this is right but basically:
ed11yLang.en.altEmptyLinked.tip = () => `<p>hi</p>`
- Status changed to Closed: works as designed
2 months ago 7:38pm 16 September 2024 - πΊπΈUnited States itmaybejj
I'm closing this for now. The work it would take to add variables for all the strings to the GUI and map all those variables to the localization file is just out of scope for me. If someone wrote it, I'd review it.
At the JS level, the localization file can be overwritten with your own values. Or you can use the ed11yPop event to modify the rendered tips however you want -- e.g., by adding that help link.
That said -- the default language in the tips are just the result of this community winging it. I heartily welcome suggestions for improvement.