rilrom

fullscreen editor

by rilrom
payload-bites
Rich text & editors
v4
>=4.0.0-beta.10 <5.0.0
MIT

Overview

Summary generated from the README

Adds a Lexical editor feature that lets editors expand a rich-text field to fullscreen. It is registered by adding the feature to the features list of lexicalEditor in the Payload config, optionally alongside the fixed toolbar. Version 2.x targets Payload 4 prereleases and version 1.x targets Payload 3.

Features

  • Fullscreen mode for Lexical rich-text fields
  • Added as a feature in the lexicalEditor features list
  • Works alongside the optional fixed toolbar feature
  • Includes translations
  • Separate releases for Payload 3 and Payload 4

Use cases

  • Give editors more room when writing long-form content in rich-text fields
  • Reduce distraction while editing articles in the Payload admin

From the author

fullscreen mode for the lexical rich text editor

Installation

npm i @payload-bites/fullscreen-editor

115

Stars

7

Forks

2

Open Issues

1 weeks ago

Last Updated

439

Weekly Downloads

v1.9.1

npm Version

44.7 KB

Unpacked Size

0

Dependencies

Repository stars

115+3 since Sep 6

Show data
Repository stars by day (UTC)
DateStars
Dec 5, 2026115
Dec 4, 2026115
Dec 3, 2026115
Dec 2, 2026115
Dec 1, 2026115
Nov 30, 2026115
Nov 29, 2026115
Nov 28, 2026115
Nov 27, 2026115
Nov 26, 2026115
Nov 25, 2026114
Nov 24, 2026114
Nov 23, 2026114
Nov 22, 2026114
Nov 21, 2026114
Nov 20, 2026114
Nov 19, 2026114
Nov 18, 2026114
Nov 17, 2026114
Nov 16, 2026114
Nov 15, 2026114
Nov 14, 2026114
Nov 13, 2026114
Nov 12, 2026114
Nov 11, 2026114
Nov 10, 2026114
Nov 9, 2026114
Nov 8, 2026114
Nov 7, 2026114
Nov 6, 2026114
Nov 5, 2026114
Nov 4, 2026114
Nov 3, 2026114
Nov 2, 2026114
Nov 1, 2026114
Oct 31, 2026114
Oct 30, 2026114
Oct 29, 2026114
Oct 28, 2026114
Oct 27, 2026114
Oct 26, 2026114
Oct 25, 2026114
Oct 24, 2026114
Oct 23, 2026114
Oct 22, 2026114
Oct 21, 2026113
Oct 20, 2026113
Oct 19, 2026113
Oct 18, 2026113
Oct 17, 2026113
Oct 16, 2026113
Oct 15, 2026113
Oct 14, 2026113
Oct 13, 2026113
Oct 12, 2026113
Oct 11, 2026113
Oct 10, 2026113
Oct 9, 2026113
Oct 8, 2026113
Oct 7, 2026113
Oct 6, 2026113
Oct 5, 2026113
Oct 4, 2026113
Oct 3, 2026113
Oct 2, 2026113
Oct 1, 2026113
Sep 30, 2026113
Sep 29, 2026113
Sep 28, 2026113
Sep 27, 2026113
Sep 26, 2026113
Sep 25, 2026113
Sep 24, 2026113
Sep 23, 2026113
Sep 22, 2026113
Sep 21, 2026113
Sep 20, 2026113
Sep 19, 2026113
Sep 18, 2026113
Sep 17, 2026113
Sep 16, 2026113
Sep 15, 2026113
Sep 14, 2026113
Sep 13, 2026112
Sep 12, 2026112
Sep 11, 2026112
Sep 10, 2026112
Sep 9, 2026112
Sep 8, 2026112
Sep 7, 2026112
Sep 6, 2026112

Shared by 6 plugins in rilrom/payload-bites.

npm weekly downloads

725+186 since Sep 6

Show data
npm weekly downloads by day (UTC)
DateWeekly downloads
Dec 5, 2026725
Dec 4, 2026735
Dec 3, 2026797
Dec 2, 2026819
Dec 1, 2026927
Nov 30, 20261,065
Nov 29, 2026951
Nov 28, 2026625
Nov 27, 2026653
Nov 26, 2026695
Nov 25, 2026792
Nov 24, 2026866
Nov 23, 2026785
Nov 22, 2026902
Nov 21, 2026880
Nov 20, 2026827
Nov 19, 20261,063
Nov 18, 20261,022
Nov 17, 2026812
Nov 16, 20261,162
Nov 15, 20261,048
Nov 14, 20261,195
Nov 13, 20261,279
Nov 12, 2026951
Nov 11, 2026843
Nov 10, 2026922
Nov 9, 2026539
Nov 8, 2026608
Nov 7, 2026530
Nov 6, 2026573
Nov 5, 2026599
Nov 4, 2026707
Nov 3, 2026724
Nov 2, 2026798
Nov 1, 2026740
Oct 31, 2026749
Oct 30, 2026683
Oct 29, 2026635
Oct 28, 2026497
Oct 27, 2026544
Oct 26, 2026465
Oct 25, 2026458
Oct 24, 2026383
Oct 23, 2026284
Oct 22, 2026373
Oct 21, 2026485
Oct 20, 2026418
Oct 19, 2026399
Oct 18, 2026370
Oct 17, 2026417
Oct 16, 2026439
Oct 15, 2026376
Oct 14, 2026299
Oct 13, 2026213
Oct 12, 2026202
Oct 11, 2026189
Oct 10, 2026138
Oct 9, 2026177
Oct 8, 2026203
Oct 7, 2026343
Oct 6, 2026430
Oct 5, 2026496
Oct 4, 2026656
Oct 3, 2026661
Oct 2, 2026637
Oct 1, 2026709
Sep 30, 2026560
Sep 29, 2026497
Sep 28, 2026457
Sep 27, 2026308
Sep 26, 2026314
Sep 25, 2026302
Sep 24, 2026207
Sep 23, 2026223
Sep 22, 2026238
Sep 21, 2026296
Sep 20, 2026314
Sep 19, 2026318
Sep 18, 2026367
Sep 17, 2026422
Sep 16, 2026465
Sep 15, 2026577
Sep 14, 2026560
Sep 13, 2026599
Sep 12, 2026646
Sep 11, 2026657
Sep 10, 2026649
Sep 9, 2026659
Sep 8, 2026599
Sep 7, 2026603
Sep 6, 2026539

Each point is npm's rolling 7-day download count.

Health Score

88/100Excellent

Composite score based on GitHub activity, stars, npm downloads, publish recency, dependency count, and package size.

Badge for your README

Payload Directory health badge
Markdown
[![Payload Directory](https://payloaddirectory.dev/badge/908347705-fullscreen-editor.svg)](https://payloaddirectory.dev/plugins/908347705-fullscreen-editor)
HTML
<a href="https://payloaddirectory.dev/plugins/908347705-fullscreen-editor"><img src="https://payloaddirectory.dev/badge/908347705-fullscreen-editor.svg" alt="Payload Directory"></a>
Updated Nov 26, 2026Created Dec 25, 2024Published Nov 26, 2026

README

Fullscreen editor

Provides a fullscreen mode for the lexical rich text editor.

Compatibility table

Payload versionFullscreen editor version
v3v1.x
v4v2.x

Payload 4 versions are prereleases. Install them with pnpm add @payload-bites/fullscreen-editor@beta.

Quick start

  1. Install the plugin:
pnpm add @payload-bites/fullscreen-editor
  1. Add the feature to your lexical editor in payload.config.ts:
// ...
import { FullscreenEditorFeature } from "@payload-bites/fullscreen-editor";

export default buildConfig({
  // ...
  editor: lexicalEditor({
    features: ({ defaultFeatures }) => [
      ...defaultFeatures,
      // ...
      FixedToolbarFeature(), // optional
      FullscreenEditorFeature(),
    ],
  }),
});

Caveats

  • If fullscreen mode is enabled and you resize your browser screen across the 768px threshold, the rich-text field remounts which causes the ".focused-editor" class to be removed, leaving you with a blank screen. To fix this you need to either refresh the browser or remove the ".focus-mode" class from the body element using your browser dev tools.

Roadmap

  • Focus trap around editor in fullscreen mode.
  • Translations.

Similar plugins