mirror of
https://github.com/facebook/lexical.git
synced 2025-08-06 16:39:33 +08:00
Remove $log (#1321)
This commit is contained in:

committed by
acywatson

parent
646222a7f4
commit
39c7328511
@ -17,7 +17,6 @@ import {
|
||||
$getSelection,
|
||||
$isLeafNode,
|
||||
$isTextNode,
|
||||
$log,
|
||||
$setSelection,
|
||||
} from 'lexical';
|
||||
import {
|
||||
@ -77,7 +76,6 @@ export function useCharacterLimit(
|
||||
const offset = findOffset(text, maxCharacters, strlen);
|
||||
editor.update(
|
||||
() => {
|
||||
$log('CharacterLimit');
|
||||
$wrapOverflowedNodes(offset);
|
||||
},
|
||||
{
|
||||
|
Reference in New Issue
Block a user