Skip to content

Commit

Permalink
Merge branch 'main' into fix/list-indention-format-loss
Browse files Browse the repository at this point in the history
  • Loading branch information
citruscai authored Dec 9, 2024
2 parents 8dd65a1 + 09779cb commit 8a6ed71
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 11 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@ on:
- 'packages/lexical-website/**'
pull_request:
types: [opened, synchronize, reopened]
paths-ignore:
- 'examples/**'
- 'packages/lexical-website/**'

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand Down
16 changes: 8 additions & 8 deletions packages/lexical-website/docs/react/plugins.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ const initialConfig = {

### `LexicalPlainTextPlugin`

React wrapper for `@lexical/plain-text` that adds major features for plain text editing, including typing, deletion and copy/pasting
React wrapper for `@lexical/plain-text` that adds major features for plain text editing, including typing, deletion and copy/pasting.

```jsx
<PlainTextPlugin
Expand All @@ -53,7 +53,7 @@ React wrapper for `@lexical/plain-text` that adds major features for plain text

### `LexicalRichTextPlugin`

React wrapper for `@lexical/rich-text` that adds major features for rich text editing, including typing, deletion, copy/pasting, indent/outdent and bold/italic/underline/strikethrough text formatting
React wrapper for `@lexical/rich-text` that adds major features for rich text editing, including typing, deletion, copy/pasting, indent/outdent and bold/italic/underline/strikethrough text formatting.

```jsx
<RichTextPlugin
Expand All @@ -65,23 +65,23 @@ React wrapper for `@lexical/rich-text` that adds major features for rich text ed

### `LexicalOnChangePlugin`

Plugin that calls `onChange` whenever Lexical state is updated. Using `ignoreHistoryMergeTagChange` (`true` by default) and `ignoreSelectionChange` (`false` by default) can give more granular control over changes that are causing `onChange` call
Plugin that calls `onChange` whenever Lexical state is updated. Using `ignoreHistoryMergeTagChange` (`true` by default) and `ignoreSelectionChange` (`false` by default) can give more granular control over changes that are causing `onChange` call.

```jsx
<OnChangePlugin onChange={onChange} />
```

### `LexicalHistoryPlugin`

React wrapper for `@lexical/history` that adds support for history stack management and `undo` / `redo` commands
React wrapper for `@lexical/history` that adds support for history stack management and `undo` / `redo` commands.

```jsx
<HistoryPlugin />
```

### `LexicalLinkPlugin`

React wrapper for `@lexical/link` that adds support for links, including `$toggleLink` command support that toggles link for selected text
React wrapper for `@lexical/link` that adds support for links, including `$toggleLink` command support that toggles link for selected text.

```jsx
<LinkPlugin />
Expand All @@ -107,7 +107,7 @@ React wrapper for `@lexical/list` that adds support for check lists. Note that i

[![See API Documentation](/img/see-api-documentation.svg)](/docs/api/modules/lexical_react_LexicalTablePlugin)

React wrapper for `@lexical/table` that adds support for tables
React wrapper for `@lexical/table` that adds support for tables.

```jsx
<TablePlugin />
Expand Down Expand Up @@ -153,15 +153,15 @@ const MATCHERS = [

### `LexicalClearEditorPlugin`

Adds `clearEditor` command support to clear editor's content
Adds `clearEditor` command support to clear editor's content.

```jsx
<ClearEditorPlugin />
```

### `LexicalMarkdownShortcutPlugin`

Adds markdown shortcut support: headings, lists, code blocks, quotes, links and inline styles (bold, italic, strikethrough)
Adds markdown shortcut support: headings, lists, code blocks, quotes, links and inline styles (bold, italic, strikethrough).

```jsx
<MarkdownShortcutPlugin />
Expand Down

0 comments on commit 8a6ed71

Please sign in to comment.