Skip to content
Snippets Groups Projects
Commit d3f74982 authored by chris's avatar chris
Browse files

disable link working

parent 28a4f6c1
No related branches found
No related tags found
1 merge request!258Editoria fixes
...@@ -25,6 +25,10 @@ export default class LinkTool extends Tools { ...@@ -25,6 +25,10 @@ export default class LinkTool extends Tools {
}; };
} }
select = state => {
return Commands.isOnSameTextBlock(state);
};
get active() { get active() {
return state => { return state => {
return Commands.markActive(state.config.schema.marks.link)(state); return Commands.markActive(state.config.schema.marks.link)(state);
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment