MCPcopy Index your code
hub / github.com/react-page/react-page

github.com/react-page/react-page @v5.4.5

Chat with this repo
repository ↗ · DeepWiki ↗ · release v5.4.5 ↗ · + Follow
578 symbols 1,886 edges 436 files 0 documented · 0% updated 26d agov5.4.5 · 2024-11-05★ 9,549
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

ReactPage

⚠️ LOOKING FOR MAINTAINERS ⚠️

see https://github.com/react-page/react-page/issues/1329


Build Status Coverage Status Docs

ReactPage is a smart, extensible and modern editor ("WYSIWYG") for the web written in React. If you are fed up with the limitations of contenteditable, you are in the right place.

ReactPage Demo

Install

yarn add @react-page/editor

or

npm install --save @react-page/editor

There is also a beta release channel, which might contain unstable features:

yarn add @react-page/editor@beta

or

npm install --save @react-page/editor@beta

Demo

A demo can be found on Demo which reflects the stable release channel on npm.

the current beta version is also available as a demo: beta Demo

Documentation

The documentation is available at docs

Documentation for the current beta is at beta docs

Contributors

Made with contributors-img.

Sponsored by

  • GuestBell - Customer centric online POS for Hotels and short terms stays.
  • Panter - Software engineering company for custom solutions. Located in Zürich Switzerland.
  • Impact Hub Switzerland - Coworking spaces and community of creators creating a radically collaborative world.

Attributions

Formerly known as ORY Editor

Original Library created by @aeneasr @ory

Follow twitter Follow GitHub

In the wild

  • GuestBell Hotel App - ReactPage is used as CMS for hotel landing pages.
  • Veloplus Online Shop - ReactPage is used to create and display any content page (and the landing page as well)
  • Bike2School - A project to promote going to school by bike. It uses ReactPage for content editing.

Community

join us in the new Discussion board

Extension points exported contracts — how you extend this code

CoreEditorProps (Interface)
(no doc)
packages/editor/src/core/EditorStore.ts
BackgroundRendererExtraProps (Interface)
(no doc)
packages/plugins/layout/background/src/types/renderer.ts
CollapseButtonProps (Interface)
(no doc)
examples/components/ExampleCustomBottomToolbar/CollapseButton.tsx
CellSpacingState (Interface)
(no doc)
examples/pages/examples/cellSpacing.tsx
Window (Interface)
(no doc)
packages/editor/src/core/store.ts
BackgroundApi (Interface)
(no doc)
packages/plugins/layout/background/src/types/api.ts
SetLangAction (Interface)
(no doc)
packages/editor/src/core/actions/setting.ts
BackgroundDefaultControlsState (Interface)
(no doc)
packages/plugins/layout/background/src/Controls/Inner.tsx

Core symbols most depended-on inside this repo

isRow
called by 45
packages/editor/src/core/types/node.ts
useOption
called by 35
packages/editor/src/core/components/hooks/options.ts
getTargetIndexForUpAndDownMove
called by 22
packages/editor/src/core/components/hooks/nodeMove.ts
useUiTranslator
called by 20
packages/editor/src/core/components/hooks/options.ts
createId
called by 19
packages/editor/src/core/utils/createId.ts
createValue
called by 14
packages/editor/src/core/utils/createValue.ts
reduce
called by 14
packages/editor/src/core/reducer/value/tree.ts
useNodeProps
called by 13
packages/editor/src/core/components/hooks/node.ts

Shape

Function 492
Interface 35
Class 24
Method 24
Enum 3

Languages

TypeScript100%

Modules by API surface

packages/editor/src/core/components/hooks/node.ts20 symbols
packages/editor/src/core/components/hooks/nodeActions.ts19 symbols
packages/editor/src/core/actions/cell/drag.ts14 symbols
packages/editor/src/core/actions/cell/core.ts14 symbols
packages/editor/src/core/components/hooks/displayMode.ts13 symbols
examples/pages/examples/reactadmin.tsx10 symbols
packages/editor/src/core/service/logger/index.ts9 symbols
packages/editor/src/core/service/hover/computeHover.ts8 symbols
packages/plugins/content/slate/src/pluginFactories/createListPlugin.tsx7 symbols
packages/editor/src/core/components/hooks/options.ts7 symbols
packages/editor/src/core/components/hooks/nodeMove.ts7 symbols
packages/editor/src/core/actions/cell/insert.ts7 symbols

Dependencies from manifests, versioned

@babel/cli7.2.0 · 1×
@babel/core7.2.0 · 1×
@babel/plugin-proposal-class-properties7.2.1 · 1×
@babel/plugin-transform-modules-commonjs7.2.0 · 1×
@babel/preset-env7.2.0 · 1×
@babel/preset-react7.0.0 · 1×
@babel/preset-typescript7.1.0 · 1×
@emotion/cache11.10.3 · 1×
@emotion/is-prop-valid1.2.0 · 1×
@emotion/react11.10.4 · 1×
@emotion/server11.10.0 · 1×
@emotion/styled11.10.4 · 1×

For agents

$ claude mcp add react-page \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact