Skip to content

[lexical-playground] [minor] Feature: turn single-file plugins plugins/*Plugin/index.tsx into plugins/*Plugin.tsx #8280

@vadimkantorov

Description

@vadimkantorov

Similar to https://github.com/facebook/lexical/blob/main/packages/lexical-playground/src/plugins/TablePlugin.tsx

The import statements like import LinkPlugin from './plugins/LinkPlugin' do work with both single-file and directory style, but the non-index.tsx-named plugin files are a tiny bit more convenient to manage in custom user codebases which copy/sync these plugins code from Playground.

Out of 50 plugin dirs currently, only 13 plugins are multi-file, the remaining 37 are single-file index.tsx ones

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementImprovement over existing feature

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions