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

disable tool

parent 70e9a882
No related branches found
No related tags found
No related merge requests found
......@@ -16,16 +16,16 @@ class ExternalAPIContentTool extends Tools {
return true;
}
select = activeView => {
return true;
};
get enable() {
return state => {
return true;
return Commands.isOnSameTextBlock(state);
};
}
select = state => {
return Commands.isOnSameTextBlock(state);
};
renderTool(view) {
if (isEmpty(view)) return null;
const context = useContext(WaxContext);
......
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