Fix: placeholder is detected as common text instead virtual text

pull/2127/head
CatHood0 8 months ago
parent 19bb8526b8
commit 2fff90bc3c
  1. 1
      lib/src/editor/widgets/text/text_line.dart

@ -407,6 +407,7 @@ class _TextLineState extends State<TextLine> {
if (!isLink &&
!widget.readOnly &&
!widget.line.style.attributes.containsKey('code-block') &&
!widget.line.style.attributes.containsKey('placeholder') &&
!kIsWeb) {
final service = SpellCheckerServiceProvider.instance;
final spellcheckedSpans = service.checkSpelling(textNode.value);

Loading…
Cancel
Save