I totally don’t know if type
is a mandatory field which needs to be set. Anyhow, It’s great if null
works
Is this the sort of API model that should be described in these empty docs here? https://getkirby.com/docs/reference/plugins/extensions/api#custom-models
It would fit there! If we could describe at least all mandatory properties and explain why we’re need to set them.
It’s quite difficult, without deeper knowlege about Kirby’s internals, reading Sources and Tests to get such stuff running.
That was wild
Third, and most likley the last release for today: 1.2.3
Thank you very very much @texnixe!
Hello everyone
I just wanted to let you know that I’ve released Version 1.3.0 of Enhanced Toolbar Link Dialog.
Besides some important bugfixes it is now possible to adapt the displayed title to your needs and to specify where to open the linked document. You can find details in the Changelog.
I just published Enhanced Toolbar Link Dialog 1.3.2 which is now compatible to Kirby 3.4.0.
1.4.0 is here: https://github.com/gearsdigital/enhanced-toolbar-link-dialog/releases/tag/1.4.0
The main “customer” facing feature of this release is that it is now possible to configure the the tab which is intially active. This may save you and your users a few keystrokes. How awesome is that?
//site/config/config.php
<?php
return [
'gearsdigital.enhanced-toolbar-link-dialog.tab.order' => '1', // make the internal link tab active
];
Another great achievement is that we have automated E2E tests now! Using cypress.io will increase the stability of future releases. You can find Test Report here: https://dashboard.cypress.io/projects/brvgr5/runs/16/specs
I’ve fixed also a very small usability issue and a bug which caused unusable links when a user decied to select nothing but to close the dialog using “Ok”.
Changelog
Feature
- make initial open tab configurable (#27)
- add automated test setup (#24)
- improve pagination position (#30)
Bugfixes
- prevent (link: null) from being inserted (#21)
Let me now if you found something
Thank you @gearsdigital for your most splendid pugin.
Do you have any plans for similar functionality for the Editor-Plugin (Instead of the Textarea)?
Thanks for this new update. I thought I would find the option of choosing the destination (blank, etc …) for the external links. It could also be useful to define if the external link should be opened in a new tab or not I think.
To be honest… I’m not sure. Haven’t had a look on the Editor-Plugin and I’m not sure if its extendable.
Thanks @gearsdigital. Good to know.
But i’ll try to give it a shot
This is already possible. You can choose one of:
Self
: the current browsing context.Blank
: usually a new tab, but users can configure browsers to open a new window instead.Parent
: the parent browsing context of the current one. If no parent, behaves asSelf
.Top
: the topmost browsing context (the “highest” context that’s an ancestor of the current one). If no ancestors, behaves asSelf
.
While writing this down, Self seems to be useless because it’s thw browser default ^^
Did I miss something @Oziris?
Dang! You’va asked for external Links. Not sure about that let me think about this… I’ll let you know.
Oh ok sorry, as the select field is only placed inside the “internal links” tab, I thought I couldn’t use this option for external links. I think the best would be to set the select field inside both tabs, because we have to choose between one or other, that’s why I was confused, sorry.
But great plugin btw !!!
Good morning everyone, I just released version 1.5.0 which adds a french translation. Besides that this release contains no more features or fixes so you don’t need to udpate.
Hi, yes, I was hoping to find this for the block editor. Is there a solution already that I haven’t found yet?
Nope, not yet. Sorry mate.
Hello
I’ve released Version 1.6.0.
It extends the dialog view with two additional fields. Thanks to @mvilskersts your are now able to add an anchor and a title to your link which makes the generated link even more flexible.
The second enhancement was provided by @morrits and adds a translation in dutch
I just released Version 2.0.0 of the Enhanced Toolbar Link Dialog.
This release adds compatibility to Kirby 3.6 and is a breaking change. I’ll provide bug fixes for older versions only for the next couple of month. New features are going only to > 2.*
.
Enough of bad news! Version 2 introduces a new way to overide plugin translations using /site/config.php
. You can now customize every Text which is related to this plugin. You can find all the details in the README.
It is also possible to define a custom list size for search results. The default is now 5 which reduces the link dialog hight a bit.
What’s Changed
- Add compatibility to Kirby 3.6 by @gearsdigital in fix: add compatibility to Kirby 3.6 by gearsdigital · Pull Request #52 · gearsdigital/enhanced-toolbar-link-dialog · GitHub
- Configurable filter for internal pages by @mvilskersts in Configurable filter for internal pages by mvilskersts · Pull Request #44 · gearsdigital/enhanced-toolbar-link-dialog · GitHub
- Allow to make list size of search results configurable by @gearsdigital Make Link-Target Text in Dropdown configurable · Issue #33 · gearsdigital/enhanced-toolbar-link-dialog · GitHub
- Add french translation of new strings by @yoanmalie in French translation of new strings by yoanmalie · Pull Request #40 · gearsdigital/enhanced-toolbar-link-dialog · GitHub
Full Changelog: https://github.com/gearsdigital/enhanced-toolbar-link-dialog/compare/1.6.0...1.7.0