Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

proxied getEditorSettings in block-editor #15807

Merged
merged 5 commits into from
May 24, 2019
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
docs auto generated
  • Loading branch information
draganescu committed May 24, 2019
commit aa20ea169197c08501f4a7d3fb4f892f3d9c780b
5 changes: 2 additions & 3 deletions packages/block-editor/README.md
Original file line number Diff line number Diff line change
@@ -352,7 +352,7 @@ Undocumented declaration.
<a name="SETTINGS_DEFAULTS" href="#SETTINGS_DEFAULTS">#</a> **SETTINGS_DEFAULTS**

The default editor settings
```

alignWide boolean Enable/Disable Wide/Full Alignments
availableLegacyWidgets Array Array of objects representing the legacy widgets available.
colors Array Palette colors
@@ -369,8 +369,7 @@ The default editor settings
isRTL boolean Whether the editor is in RTL mode
bodyPlaceholder string Empty post placeholder
titlePlaceholder string Empty title placeholder
codeEditingEnabled boolean Whether or not the user can switch to the code editor
```
codeEditingEnabled string Whether or not the user can switch to the code editor

<a name="SkipToSelectedBlock" href="#SkipToSelectedBlock">#</a> **SkipToSelectedBlock**

1 change: 1 addition & 0 deletions packages/block-editor/src/store/defaults.js
Original file line number Diff line number Diff line change
@@ -26,6 +26,7 @@ export const PREFERENCES_DEFAULTS = {
* isRTL boolean Whether the editor is in RTL mode
* bodyPlaceholder string Empty post placeholder
* titlePlaceholder string Empty title placeholder
* codeEditingEnabled string Whether or not the user can switch to the code editor
*/
export const SETTINGS_DEFAULTS = {
alignWide: false,