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

remove console.log

parent 84828203
No related branches found
No related tags found
1 merge request!306Answer nodeview
......@@ -38,8 +38,6 @@ const upperLowerCase = (state, dispatch, casing) => {
const substringFrom = Math.max(0, selection.from - position - 1);
const substringTo = Math.max(0, selection.to - position - 1);
const updatedText = node.textBetween(substringFrom, substringTo);
console.log(node.textBetween(substringFrom, substringTo));
console.log(node.textContent.substring(substringFrom - 1, substringTo - 1));
// set the casing
const textNode =
casing === 'upperCase'
......
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