-
-
Notifications
You must be signed in to change notification settings - Fork 696
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
- Loading branch information
Showing
29 changed files
with
97 additions
and
85 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 @@ | ||
Remove anonymous function calls. Remove default exports from. @sneridagh |
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
export saveSlateBlockSelection from './selection'; | ||
export { default as saveSlateBlockSelection } from './selection'; | ||
export * from './content'; | ||
export * from './plugins'; |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
import * as slateConfig from './config'; | ||
import installDefaultPlugins from './plugins'; | ||
export SlateEditor from './SlateEditor'; | ||
export EditorReference from './EditorReference'; | ||
export { default as SlateEditor } from './SlateEditor'; | ||
export { default as EditorReference } from './EditorReference'; | ||
|
||
export default (config) => { | ||
export default function applyConfig(config) { | ||
config.settings.slate = { | ||
...slateConfig, | ||
// showExpandedToolbar: false, | ||
enableExpandedToolbar: false, | ||
}; | ||
config = installDefaultPlugins(config); | ||
return config; | ||
}; | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
export BasicToolbar from './BasicToolbar'; | ||
export BlockButton from './BlockButton'; | ||
export ClearFormattingButton from './ClearFormattingButton'; | ||
export ExpandedToolbar from './ExpandedToolbar'; | ||
export Expando from './Expando'; | ||
export MarkButton from './MarkButton'; | ||
export Menu from './Menu'; | ||
export Separator from './Separator'; | ||
export SlateContextToolbar from './SlateContextToolbar'; | ||
export SlateToolbar from './SlateToolbar'; | ||
export Toolbar from './Toolbar'; | ||
export ToolbarButton from './ToolbarButton'; | ||
export MarkElementButton from './MarkElementButton'; | ||
export PositionedToolbar from './PositionedToolbar'; | ||
export InlineToolbar from './InlineToolbar'; | ||
export { default as BasicToolbar } from './BasicToolbar'; | ||
export { default as BlockButton } from './BlockButton'; | ||
export { default as ClearFormattingButton } from './ClearFormattingButton'; | ||
export { default as ExpandedToolbar } from './ExpandedToolbar'; | ||
export { default as Expando } from './Expando'; | ||
export { default as MarkButton } from './MarkButton'; | ||
export { default as Menu } from './Menu'; | ||
export { default as Separator } from './Separator'; | ||
export { default as SlateContextToolbar } from './SlateContextToolbar'; | ||
export { default as SlateToolbar } from './SlateToolbar'; | ||
export { default as Toolbar } from './Toolbar'; | ||
export { default as ToolbarButton } from './ToolbarButton'; | ||
export { default as MarkElementButton } from './MarkElementButton'; | ||
export { default as PositionedToolbar } from './PositionedToolbar'; | ||
export { default as InlineToolbar } from './InlineToolbar'; |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
export SearchDetails from './SearchDetails'; | ||
export Facets from './Facets'; | ||
export SelectFacet from './SelectFacet'; | ||
export CheckboxFacet from './CheckboxFacet'; | ||
export DateRangeFacet from './DateRangeFacet'; | ||
export SearchInput from './SearchInput'; | ||
export FilterList from './FilterList'; | ||
export SortOn from './SortOn'; | ||
export ToggleFacet from './ToggleFacet'; | ||
export SelectFacetFilterListEntry from './SelectFacetFilterListEntry'; | ||
export ToggleFacetFilterListEntry from './ToggleFacetFilterListEntry'; | ||
export DateRangeFacetFilterListEntry from './DateRangeFacetFilterListEntry'; | ||
export ViewSwitcher from './ViewSwitcher'; | ||
export { default as SearchDetails } from './SearchDetails'; | ||
export { default as Facets } from './Facets'; | ||
export { default as SelectFacet } from './SelectFacet'; | ||
export { default as CheckboxFacet } from './CheckboxFacet'; | ||
export { default as DateRangeFacet } from './DateRangeFacet'; | ||
export { default as SearchInput } from './SearchInput'; | ||
export { default as FilterList } from './FilterList'; | ||
export { default as SortOn } from './SortOn'; | ||
export { default as ToggleFacet } from './ToggleFacet'; | ||
export { default as SelectFacetFilterListEntry } from './SelectFacetFilterListEntry'; | ||
export { default as ToggleFacetFilterListEntry } from './ToggleFacetFilterListEntry'; | ||
export { default as DateRangeFacetFilterListEntry } from './DateRangeFacetFilterListEntry'; | ||
export { default as ViewSwitcher } from './ViewSwitcher'; |
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 |
---|---|---|
@@ -1,2 +1,2 @@ | ||
export withQueryString from './withQueryString'; | ||
export withSearch from './withSearch'; | ||
export { default as withQueryString } from './withQueryString'; | ||
export { default as withSearch } from './withSearch'; |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
export default (element) => { | ||
export default function FromHTMLCustomBlockFn(element) { | ||
if (element.className === 'callout') { | ||
return { | ||
type: 'callout', | ||
}; | ||
} | ||
return null; | ||
}; | ||
} |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
export * from './withBlockSchemaEnhancer'; | ||
export withBlockExtensions, { | ||
export { | ||
default as withBlockExtensions, | ||
resolveExtension, | ||
resolveBlockExtensions, | ||
} from './withBlockExtensions'; |
Oops, something went wrong.