Skip to content

Commit

Permalink
feat(extension-search): rewrite SearchExtension
Browse files Browse the repository at this point in the history
  • Loading branch information
ocavue committed Oct 28, 2022
1 parent 52822e4 commit 562f873
Show file tree
Hide file tree
Showing 27 changed files with 819 additions and 684 deletions.
5 changes: 5 additions & 0 deletions .changeset/eleven-lions-develop.md
@@ -0,0 +1,5 @@
---
'@remirror/extension-search': major
---

Rewrite `@remirror/extension-search` will a simpler API interface.
5 changes: 5 additions & 0 deletions .changeset/hungry-news-doubt.md
@@ -0,0 +1,5 @@
---
'@remirror/react-components': minor
---

Add new `<FindReplaceComponent/>` that addes find and replace functionality to your editor.
5 changes: 4 additions & 1 deletion docs/extensions/search-extension.mdx
Expand Up @@ -4,12 +4,13 @@ title: 'SearchExtension'
---

import Basic from '../../website/extension-examples/extension-search/basic';
import WithFindReplaceComponent from '../../website/extension-examples/extension-search/with-find-replace-component';

# `SearchExtension`

## Summary

This extension add search functionality to your editor.
This extension add find and replace functionality to your editor.

## Usage

Expand All @@ -29,6 +30,8 @@ The extension is provided by the `@remirror/extension-search` package.

<Basic />

<WithFindReplaceComponent />

## API

- [SearchExtension](../api/extension-search)
3 changes: 3 additions & 0 deletions packages/remirror__core-constants/src/core-constants.ts
Expand Up @@ -446,8 +446,11 @@ export enum NamedShortcut {
RightAlignment = '_|right-align|_',
JustifyAlignment = '_|justify-align|_',
InsertLink = '_|link|_',
/** @deprecated */
Find = '_|find|_',
/** @deprecated */
FindBackwards = '_|find-backwards|_',
/** @deprecated */
FindReplace = '_|find-replace|_',
AddFootnote = '_|footnote|_',
AddComment = '_|comment|_',
Expand Down

This file was deleted.

0 comments on commit 562f873

Please sign in to comment.