-
-
Notifications
You must be signed in to change notification settings - Fork 231
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(theme): wrap end-of-lines spaces (#1775)
- Loading branch information
Showing
8 changed files
with
37 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
'@remirror/styles': patch | ||
'@remirror/theme': patch | ||
--- | ||
|
||
Set style `white-space` as `break-spaces` to wrap end-of-lines spaces. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
31 changes: 31 additions & 0 deletions
31
website/extension-examples/extension-entity-reference/scroll-to-highlight.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
/** | ||
* THIS FILE IS AUTO GENERATED! | ||
* | ||
* Run `pnpm -w generate:website-examples` to regenerate this file. | ||
*/ | ||
|
||
// @ts-nocheck | ||
|
||
import React from 'react'; | ||
import CodeBlock from '@theme/CodeBlock'; | ||
import BrowserOnly from '@docusaurus/BrowserOnly'; | ||
import ComponentSource from '!!raw-loader!../../../packages/storybook-react/stories/extension-entity-reference/scroll-to-highlight.tsx'; | ||
|
||
import { StoryExample } from '../../src/components/story-example-component'; | ||
|
||
const ExampleComponent = (): JSX.Element => { | ||
const story = ( | ||
<BrowserOnly> | ||
{() => { | ||
const ComponentStory = require('../../../packages/storybook-react/stories/extension-entity-reference/scroll-to-highlight').default | ||
return <ComponentStory/> | ||
}} | ||
</BrowserOnly> | ||
); | ||
const source = <CodeBlock className='language-tsx'>{ComponentSource}</CodeBlock>; | ||
|
||
return <StoryExample story={story} source={source} />; | ||
}; | ||
|
||
export default ExampleComponent; | ||
|
0faf79e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚀 Deployed on https://62c7c72d61368945a792b180--remirror.netlify.app