Skip to content

Add autocorrect configuration option to QuillEditor #2707

@TSchattschneider

Description

@TSchattschneider

Have you checked for an existing issue?

Use case

QuillEditor doesn't expose a way to control autocorrection. The platform's autocorrect is always enabled, which creates problems for applications with specialized terminology (medical, scientific, technical) where autocorrect interferes with precise input.

Proposal

Add an autocorrect boolean property to QuillEditorConfig that passes through to TextInputConfiguration.autocorrect.

QuillEditor(
  configurations: QuillEditorConfig(
    autocorrect: false, // Disable platform autocorrection
  ),
)

Rationale

  • Mirrors Flutter's API - Follows the same pattern as TextField.autocorrect
  • Backwards compatible - Defaults to true (preserves current behavior)
  • Minimal footprint - 4 files, 12 lines added

Implementation

I have a working implementation ready: https://github.com/elea-ai/flutter-quill/tree/feature/add-autocorrect-to-config

Would the maintainers be open to reviewing a PR for this? Happy to make any adjustments to meet project standards.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions