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
This works if the editor does not have any content yet. If the editor is loaded with existing content and the content contains links with those custom protocols, then the links with those custom protocols are purged by TipTap. This is because those custom protocols are added to the extension's configuration after loading the initial editor.
The link in 'content' livewire property will be removed by the editor.
If you add a new link procedure://123 to the content using the editor, then the editor will correctly render it as a link.
How do you expect it to work?
Ability to customize the configuration of the pre-installed tiptap extensions.
Please confirm (incomplete submissions will not be addressed)
I have provided easy and step-by-step instructions to reproduce the bug.
I have provided code samples as text and NOT images.
I understand my bug report will be closed if I haven't met the criteria above.
The text was updated successfully, but these errors were encountered:
@gdebrauwer thanks for reporting! I'm going to close this in favour of #746, as we want to try and keep it all contained in that issue so Caleb can review it all together when he gets to it. I understand this may seem slightly different but the extension customisation story is all related. Can I ask you add a comment to that issue with some of the details here? Thanks!
Flux version
v1.1.2
Livewire version
v3.5.18
What is the problem?
In a project, I added custom protocols to the link extension using the following code:
This works if the editor does not have any content yet. If the editor is loaded with existing content and the content contains links with those custom protocols, then the links with those custom protocols are purged by TipTap. This is because those custom protocols are added to the extension's configuration after loading the initial editor.
This is related to #746
Code snippets
Add the following code to your
app.js
file:Create following livewire component:
The link in 'content' livewire property will be removed by the editor.
If you add a new link
procedure://123
to the content using the editor, then the editor will correctly render it as a link.How do you expect it to work?
Ability to customize the configuration of the pre-installed tiptap extensions.
Please confirm (incomplete submissions will not be addressed)
The text was updated successfully, but these errors were encountered: