Feature/single package (#1)
This commit is contained in:
committed by
GitHub
parent
5963227066
commit
0b64464611
.all-contributorsrc.eslintignore.eslintrc.js
.github
.gitignore.prettierignore.storybook
.stylelintrcCHANGELOG.mdCONTRIBUTING.mdbabel.config.jscommitlint.config.jscypress
Readme.md
fixtures
BitBucket Backend Editorial Workflow__can change status on and publish multiple entries.jsonBitBucket Backend Editorial Workflow__can change workflow status.jsonBitBucket Backend Editorial Workflow__can create an entry.jsonBitBucket Backend Editorial Workflow__can delete an entry.jsonBitBucket Backend Editorial Workflow__can publish an editorial workflow entry.jsonBitBucket Backend Editorial Workflow__can update an entry.jsonBitBucket Backend Editorial Workflow__can update workflow status from within the editor.jsonBitBucket Backend Editorial Workflow__successfully loads.jsonBitBucket Backend Media Library - Large Media__can delete image from global media library.jsonBitBucket Backend Media Library - Large Media__can publish entry with image.jsonBitBucket Backend Media Library - Large Media__can save entry with image.jsonBitBucket Backend Media Library - Large Media__can upload image from entry media library.jsonBitBucket Backend Media Library - Large Media__can upload image from global media library.jsonBitBucket Backend Media Library - Large Media__should not show draft entry image in global media library.jsonBitBucket Backend Media Library - Large Media__should show published entry image in global media library.jsonBitBucket Backend Media Library - Large Media__should show published entry image in grid view.jsonBitBucket Backend Media Library - REST API__can delete image from global media library.jsonBitBucket Backend Media Library - REST API__can publish entry with image.jsonBitBucket Backend Media Library - REST API__can save entry with image.jsonBitBucket Backend Media Library - REST API__can upload image from entry media library.jsonBitBucket Backend Media Library - REST API__can upload image from global media library.jsonBitBucket Backend Media Library - REST API__should not show draft entry image in global media library.jsonBitBucket Backend Media Library - REST API__should show published entry image in global media library.jsonBitBucket Backend Media Library - REST API__should show published entry image in grid view.jsonBitBucket Backend Simple Workflow__can create an entry.jsonBitBucket Backend Simple Workflow__successfully loads.jsonGit Gateway (GitHub) Backend Editorial Workflow__can change status on and publish multiple entries.jsonGit Gateway (GitHub) Backend Editorial Workflow__can change workflow status.jsonGit Gateway (GitHub) Backend Editorial Workflow__can create an entry.jsonGit Gateway (GitHub) Backend Editorial Workflow__can delete an entry.jsonGit Gateway (GitHub) Backend Editorial Workflow__can publish an editorial workflow entry.jsonGit Gateway (GitHub) Backend Editorial Workflow__can update an entry.jsonGit Gateway (GitHub) Backend Editorial Workflow__can update workflow status from within the editor.jsonGit Gateway (GitHub) Backend Editorial Workflow__successfully loads.jsonGit Gateway (GitHub) Backend Media Library - Large Media__can delete image from global media library.jsonGit Gateway (GitHub) Backend Media Library - Large Media__can publish entry with image.jsonGit Gateway (GitHub) Backend Media Library - Large Media__can save entry with image.jsonGit Gateway (GitHub) Backend Media Library - Large Media__can upload image from entry media library.jsonGit Gateway (GitHub) Backend Media Library - Large Media__can upload image from global media library.jsonGit Gateway (GitHub) Backend Media Library - Large Media__should not show draft entry image in global media library.jsonGit Gateway (GitHub) Backend Media Library - Large Media__should show published entry image in global media library.jsonGit Gateway (GitHub) Backend Media Library - Large Media__should show published entry image in grid view.jsonGit Gateway (GitHub) Backend Simple Workflow__can create an entry.jsonGit Gateway (GitHub) Backend Simple Workflow__successfully loads.jsonGit Gateway (GitLab) Backend Editorial Workflow__can change status on and publish multiple entries.jsonGit Gateway (GitLab) Backend Editorial Workflow__can change workflow status.jsonGit Gateway (GitLab) Backend Editorial Workflow__can create an entry.jsonGit Gateway (GitLab) Backend Editorial Workflow__can delete an entry.jsonGit Gateway (GitLab) Backend Editorial Workflow__can publish an editorial workflow entry.jsonGit Gateway (GitLab) Backend Editorial Workflow__can update an entry.jsonGit Gateway (GitLab) Backend Editorial Workflow__can update workflow status from within the editor.jsonGit Gateway (GitLab) Backend Editorial Workflow__successfully loads.jsonGit Gateway (GitLab) Backend Media Library - Large Media__can delete image from global media library.jsonGit Gateway (GitLab) Backend Media Library - Large Media__can publish entry with image.jsonGit Gateway (GitLab) Backend Media Library - Large Media__can save entry with image.jsonGit Gateway (GitLab) Backend Media Library - Large Media__can upload image from entry media library.jsonGit Gateway (GitLab) Backend Media Library - Large Media__can upload image from global media library.jsonGit Gateway (GitLab) Backend Media Library - Large Media__should not show draft entry image in global media library.jsonGit Gateway (GitLab) Backend Media Library - Large Media__should show published entry image in global media library.jsonGit Gateway (GitLab) Backend Media Library - Large Media__should show published entry image in grid view.jsonGit Gateway (GitLab) Backend Simple Workflow__can create an entry.jsonGit Gateway (GitLab) Backend Simple Workflow__successfully loads.jsonGitHub Backend Media Library - GraphQL API__can delete image from global media library.jsonGitHub Backend Media Library - GraphQL API__can publish entry with image.jsonGitHub Backend Media Library - GraphQL API__can save entry with image.jsonGitHub Backend Media Library - GraphQL API__can upload image from entry media library.jsonGitHub Backend Media Library - GraphQL API__can upload image from global media library.jsonGitHub Backend Media Library - GraphQL API__should not show draft entry image in global media library.jsonGitHub Backend Media Library - GraphQL API__should show published entry image in global media library.jsonGitHub Backend Media Library - GraphQL API__should show published entry image in grid view.jsonGitHub Backend Media Library - REST API__can delete image from global media library.jsonGitHub Backend Media Library - REST API__can publish entry with image.jsonGitHub Backend Media Library - REST API__can save entry with image.jsonGitHub Backend Media Library - REST API__can upload image from entry media library.jsonGitHub Backend Media Library - REST API__can upload image from global media library.jsonGitHub Backend Media Library - REST API__should not show draft entry image in global media library.jsonGitHub Backend Media Library - REST API__should show published entry image in global media library.jsonGitHub Backend Media Library - REST API__should show published entry image in grid view.jsonGitHub Backend Simple Workflow - GraphQL API__can create an entry.jsonGitHub Backend Simple Workflow - GraphQL API__successfully loads.jsonGitHub Backend Simple Workflow - REST API__can create an entry.jsonGitHub Backend Simple Workflow - REST API__successfully loads.jsonGitHub Backend Simple Workflow__successfully loads.jsonGitLab Backend Editorial Workflow__can change status on and publish multiple entries.jsonGitLab Backend Editorial Workflow__can change workflow status.jsonGitLab Backend Editorial Workflow__can create an entry.jsonGitLab Backend Editorial Workflow__can delete an entry.jsonGitLab Backend Editorial Workflow__can publish an editorial workflow entry.jsonGitLab Backend Editorial Workflow__can update an entry.jsonGitLab Backend Editorial Workflow__can update workflow status from within the editor.jsonGitLab Backend Editorial Workflow__successfully loads.jsonGitLab Backend Media Library - REST API__can delete image from global media library.jsonGitLab Backend Media Library - REST API__can publish entry with image.jsonGitLab Backend Media Library - REST API__can save entry with image.jsonGitLab Backend Media Library - REST API__can upload image from entry media library.jsonGitLab Backend Media Library - REST API__can upload image from global media library.jsonGitLab Backend Media Library - REST API__should not show draft entry image in global media library.jsonGitLab Backend Media Library - REST API__should show published entry image in global media library.jsonGitLab Backend Media Library - REST API__should show published entry image in grid view.jsonGitLab Backend Simple Workflow__can create an entry.jsonGitLab Backend Simple Workflow__successfully loads.jsonGithub Backend Editorial Workflow - GraphQL API - Open Authoring__can change entry status from fork.jsonGithub Backend Editorial Workflow - GraphQL API - Open Authoring__can create an entry on fork.jsonGithub Backend Editorial Workflow - GraphQL API - Open Authoring__can create an entry.jsonGithub Backend Editorial Workflow - GraphQL API - Open Authoring__can delete review entry from fork.jsonGithub Backend Editorial Workflow - GraphQL API - Open Authoring__can publish an editorial workflow entry.jsonGithub Backend Editorial Workflow - GraphQL API - Open Authoring__can return entry to draft and delete it.jsonGithub Backend Editorial Workflow - GraphQL API - Open Authoring__can update a draft entry on fork.jsonGithub Backend Editorial Workflow - GraphQL API - Open Authoring__can update an entry.jsonGithub Backend Editorial Workflow - GraphQL API - Open Authoring__successfully forks repository and loads.jsonGithub Backend Editorial Workflow - GraphQL API - Open Authoring__successfully loads.jsonGithub Backend Editorial Workflow - GraphQL API__can change status on and publish multiple entries.jsonGithub Backend Editorial Workflow - GraphQL API__can change workflow status.jsonGithub Backend Editorial Workflow - GraphQL API__can create an entry.jsonGithub Backend Editorial Workflow - GraphQL API__can delete an entry.jsonGithub Backend Editorial Workflow - GraphQL API__can publish an editorial workflow entry.jsonGithub Backend Editorial Workflow - GraphQL API__can update an entry.jsonGithub Backend Editorial Workflow - GraphQL API__can update workflow status from within the editor.jsonGithub Backend Editorial Workflow - GraphQL API__successfully loads.jsonGithub Backend Editorial Workflow - REST API - Open Authoring__can change entry status from fork.jsonGithub Backend Editorial Workflow - REST API - Open Authoring__can create an entry on fork.jsonGithub Backend Editorial Workflow - REST API - Open Authoring__can create an entry.jsonGithub Backend Editorial Workflow - REST API - Open Authoring__can delete review entry from fork.jsonGithub Backend Editorial Workflow - REST API - Open Authoring__can publish an editorial workflow entry.jsonGithub Backend Editorial Workflow - REST API - Open Authoring__can return entry to draft and delete it.jsonGithub Backend Editorial Workflow - REST API - Open Authoring__can update a draft entry on fork.jsonGithub Backend Editorial Workflow - REST API - Open Authoring__can update an entry.jsonGithub Backend Editorial Workflow - REST API - Open Authoring__successfully forks repository and loads.jsonGithub Backend Editorial Workflow - REST API - Open Authoring__successfully loads.jsonGithub Backend Editorial Workflow - REST API__can change status on and publish multiple entries.jsonGithub Backend Editorial Workflow - REST API__can change workflow status.jsonGithub Backend Editorial Workflow - REST API__can create an entry.jsonGithub Backend Editorial Workflow - REST API__can delete an entry.jsonGithub Backend Editorial Workflow - REST API__can publish an editorial workflow entry.jsonGithub Backend Editorial Workflow - REST API__can update an entry.jsonGithub Backend Editorial Workflow - REST API__can update workflow status from within the editor.jsonGithub Backend Editorial Workflow - REST API__successfully loads.jsonGithub Backend Editorial Workflow Migration - REST API__migrate from 2.10.24 to latest.jsonGithub Backend Editorial Workflow Migration - REST API__migrate from 2.9.7 to latest.jsonexample.json
media
integration
common
editorial_workflow.jseditorial_workflow_migrations.jsentries.jsi18n.jsi18n_editorial_workflow_spec.jsmedia_library.jsopen_authoring.jssimple_workflow.jsspec_utils.js
editorial_workflow_migration_spec_github_backend_rest.jseditorial_workflow_spec_bitbucket_backend.jseditorial_workflow_spec_git-gateway_github_backend.jseditorial_workflow_spec_git-gateway_gitlab_backend.jseditorial_workflow_spec_github_backend_graphql.jseditorial_workflow_spec_github_backend_graphql_open_authoring.jseditorial_workflow_spec_github_backend_rest.jseditorial_workflow_spec_github_backend_rest_open_authoring.jseditorial_workflow_spec_gitlab_backend.jseditorial_workflow_spec_proxy_git_backend.jseditorial_workflow_spec_test_backend.jsfield_validations_spec.jsi18n_editorial_workflow_spec_test_backend.jsi18n_simple_workflow_spec_proxy_fs_backend.jsmarkdown_widget_backspace_spec.jsmarkdown_widget_code_block_spec.jsmarkdown_widget_enter_spec.jsmarkdown_widget_hotkeys_spec.jsmarkdown_widget_link_spec.jsmarkdown_widget_list_spec.jsmarkdown_widget_marks_spec.jsmarkdown_widget_quote_spec.jsmedia_library_spec_bitbucket_backend.jsmedia_library_spec_bitbucket_backend_large_media.jsmedia_library_spec_git-gateway_github_backend_large_media.jsmedia_library_spec_git-gateway_gitlab_backend_large_media.jsmedia_library_spec_github_backend_graphql.jsmedia_library_spec_github_backend_rest.jsmedia_library_spec_gitlab_backend.jsmedia_library_spec_proxy_git_backend.jsmedia_library_spec_test_backend.jssearch_suggestion_spec.jssimple_workflow_spec_bitbucket_backend.jssimple_workflow_spec_git-gateway_github_backend.jssimple_workflow_spec_git-gateway_gitlab_backend.jssimple_workflow_spec_github_backend_graphql.jssimple_workflow_spec_github_backend_rest.jssimple_workflow_spec_gitlab_backend.jssimple_workflow_spec_proxy_fs_backend.jssimple_workflow_spec_proxy_git_backend.jssimple_workflow_spec_test_backend.jsview_filters_spec.jsview_groups_spec.jsplugins
run.mjssnapshots
media_library_spec_git-gateway_backend_large_media.js
Git Gateway Backend Media Library - Large Media -- can delete image from global media library.snap.pngGit Gateway Backend Media Library - Large Media -- can publish entry with image.snap.pngGit Gateway Backend Media Library - Large Media -- can save entry with image.snap.pngGit Gateway Backend Media Library - Large Media -- can upload image from entry media library.snap.pngGit Gateway Backend Media Library - Large Media -- can upload image from global media library.snap.pngGit Gateway Backend Media Library - Large Media -- should not show draft entry image in global media library.snap.pngGit Gateway Backend Media Library - Large Media -- should show published entry image in global media library.snap.pngGit Gateway Backend Media Library - Large Media -- should show published entry image in grid view.snap.png
media_library_spec_github_backend_graphql.js
GitHub Backend Media Library - GraphQL API -- can delete image from global media library.snap.pngGitHub Backend Media Library - GraphQL API -- can publish entry with image.snap.pngGitHub Backend Media Library - GraphQL API -- can save entry with image.snap.pngGitHub Backend Media Library - GraphQL API -- can upload image from entry media library.snap.pngGitHub Backend Media Library - GraphQL API -- can upload image from global media library.snap.pngGitHub Backend Media Library - GraphQL API -- should not show draft entry image in global media library.snap.pngGitHub Backend Media Library - GraphQL API -- should show published entry image in global media library.snap.pngGitHub Backend Media Library - GraphQL API -- should show published entry image in grid view.snap.png
media_library_spec_github_backend_rest.js
GitHub Backend Media Library - REST API -- can delete image from global media library.snap.pngGitHub Backend Media Library - REST API -- can publish entry with image.snap.pngGitHub Backend Media Library - REST API -- can save entry with image.snap.pngGitHub Backend Media Library - REST API -- can upload image from entry media library.snap.pngGitHub Backend Media Library - REST API -- can upload image from global media library.snap.pngGitHub Backend Media Library - REST API -- should not show draft entry image in global media library.snap.pngGitHub Backend Media Library - REST API -- should show published entry image in global media library.snap.pngGitHub Backend Media Library - REST API -- should show published entry image in grid view.snap.png
media_library_spec_test_backend.js
Test Backend Media Library -- can delete image from global media library.snap.pngTest Backend Media Library -- can publish entry with image.snap.pngTest Backend Media Library -- can save entry with image.snap.pngTest Backend Media Library -- can upload image from entry media library.snap.pngTest Backend Media Library -- can upload image from global media library.snap.pngTest Backend Media Library -- should not show draft entry image in global media library.snap.pngTest Backend Media Library -- should show published entry image in global media library.snap.pngTest Backend Media Library -- should show published entry image in grid view.snap.png
support
utils
dev-test
functions
jest.config.jslerna.jsonpackage.jsonpackages
netlify-cms-app
netlify-cms-backend-azure
netlify-cms-backend-bitbucket
netlify-cms-backend-git-gateway
netlify-cms-backend-github
netlify-cms-backend-gitlab
netlify-cms-backend-proxy
netlify-cms-backend-test
netlify-cms-core
CHANGELOG.mdREADME.mdindex.d.tspackage.jsonbackend.tsbootstrap.jswebpack.config.js
src
__tests__
actions
__tests__
config.spec.jseditorialWorkflow.spec.jsentries.spec.jsmedia.spec.tsmediaLibrary.spec.jssearch.spec.js
auth.tsconfig.tsdeploys.tseditorialWorkflow.tsentries.tsmedia.tsmediaLibrary.tsstatus.tswaitUntil.tsbackends
azure
bitbucket
git-gateway
github
API.tsAuthenticationPage.jsGraphQLAPI.tsfragmentTypes.jsfragments.tsimplementation.tsxindex.tsmutations.tsqueries.ts
scripts
types
gitlab
index.tsxproxy
test
components
App
Collection
Collection.jsCollection.tsxCollectionControls.jsCollectionSearch.jsCollectionTop.jsControlButton.js
Entries
FilterControl.jsGroupControl.jsNestedCollection.jsSidebar.jsSortControl.jsViewStyleControl.js__tests__
Editor
Editor.js
EditorControlPane
EditorInterface.jsEditorPreviewPane
EditorToolbar.js__tests__
withWorkflow.jsMediaLibrary
EmptyMessage.jsMediaLibrary.jsMediaLibraryButtons.jsMediaLibraryCard.jsMediaLibraryCardGrid.jsMediaLibraryHeader.jsMediaLibraryModal.jsMediaLibrarySearch.js
UI
Workflow
page
snackbar
constants
editor-components
index.jsindex.jsxintegrations/providers
interface.tslib
__tests__
formatters.spec.jsi18n.spec.jsphrases.spec.jsregistry.spec.jsserializeEntryValues.spec.jsurlHelper.spec.js
auth
formatters.tsindex.tsxregistry.jsutil
API.tsAPIError.tsAPIUtils.tsAccessTokenError.tsCursor.tsEditorialWorkflowError.tsasyncLock.tsbackendUtil.ts
events
getBlobSHA.tsgit-lfs.tsimplementation.tsindex.tsloadScript.jslocalForage.tspath.tspromise.tstransientOptions.tstypes
unsentRequest.jswindow.util.tswidgets
locales
media-libraries
mediaLibrary.tsreducers
redux
store
types
ui
AuthenticationPage.jsDropdown.jsFieldLabel.jsGoBackButton.jsIcon.js
Icon
icons.js
IconButton.jsListItemTopBar.jsLoader.jsObjectWidgetTopBar.jsToggle.jsWidgetPreviewContainer.jsindex.jsstyles.jsimages
_index.jsadd-with.svgadd.svgarrow.svgazure.svgbitbucket.svgbold.svgcheck.svgchevron-double.svgchevron.svgcircle.svgclose.svgcode-block.svgcode.svgdrag-handle.svgeye.svgfolder.svggithub.svggitlab.svggrid.svgh-options.svgh1.svgh2.svghome.svgimage.svginfo-circle.svgitalic.svglink.svglist-bulleted.svglist-numbered.svglist.svgmarkdown.svgmedia-alt.svgmedia.svgnetlify-cms-logo.svgnetlify.svgnew-tab.svgpage.svgpages-alt.svgpages.svgquote.svgrefresh.svgscroll.svgsearch.svgsettings.svguser.svgworkflow.svgwrite.svg
widgets
boolean
code
CodeControl.jsCodePreview.jsSettingsButton.jsSettingsPane.js
data
index.jslanguageSelectStyles.jsschema.jsscripts
colorstring
datetime
file
image
index.tsxlist
map
markdown
MarkdownControl
RawEditor.jsToolbar.jsToolbarButton.jsVisualEditor.js
MarkdownPreview.jsindex.jsregexHelper.jsschema.jscomponents
index.jsplugins
BreakToDefaultBlock.jsCloseBlock.jsCommandsAndQueries.jsCopyPasteVisual.jsForceInsert.jsHotkey.jsLineBreak.jsLink.jsList.jsQuoteBlock.jsSelectAll.jsShortcode.jsutil.jsvisual.js
renderers.jsschema.jsserializers
index.jsrehypePaperEmoji.jsremarkAllowHtmlEntities.jsremarkAssertParents.jsremarkEscapeMarkdownEntities.jsremarkImagesToText.jsremarkPaddedLinks.jsremarkRehypeShortcodes.jsremarkShortcodes.jsremarkSlate.jsremarkSquashReferences.jsremarkStripTrailingBreaks.jsremarkWrapHtml.jsslateRemark.js
styles.jstypes.jsnumber
object
relation
select
string
text
netlify-cms-default-exports
netlify-cms-editor-component-image
netlify-cms-lib-auth
netlify-cms-lib-util
CHANGELOG.mdREADME.mdpackage.json
src/__tests__
api.spec.jsapiUtils.spec.jsasyncLock.spec.jsbackendUtil.spec.jsimplementation.spec.jspath.spec.jsunsentRequest.spec.js
webpack.config.jsnetlify-cms-lib-widgets
netlify-cms-locales
CHANGELOG.mdREADME.mdpackage.json
src
webpack.config.jsnetlify-cms-media-library-cloudinary
netlify-cms-media-library-uploadcare
netlify-cms-proxy-server
.env.exampleCHANGELOG.mdREADME.mdjest.config.jspackage.json
src
global.d.tsindex.tslogger.tsmiddlewares.ts
tsconfig.jsonwebpack.config.jsmiddlewares
what-the-diff.d.tsnetlify-cms-ui-default
netlify-cms-widget-boolean
netlify-cms-widget-code
netlify-cms-widget-colorstring
netlify-cms-widget-date
netlify-cms-widget-datetime
netlify-cms-widget-file
netlify-cms-widget-image
netlify-cms-widget-list
netlify-cms-widget-map
netlify-cms-widget-markdown
CHANGELOG.mdREADME.mdpackage.json
src
MarkdownControl/__tests__
__tests__
serializers/__tests__
test-helpers
webpack.config.jsnetlify-cms-widget-number
netlify-cms-widget-object
netlify-cms-widget-relation
netlify-cms-widget-select
netlify-cms-widget-string
netlify-cms-widget-text
netlify-cms
scripts
tsconfig.jsonwebsite
.babelrc.gitignore.markdownlint.json.nvmrcREADME.md
yarn.lockcontent
.keep
blog
deploy-preview-links.mdimplementing-a-jekyll-cms-in-3-days.mdnetlify-cms-2-0-launches-with-bitbucket-support-and-a-new-monorepo-architecture.mdnetlify-cms-2-1-0-adds-external-media-support-with-uploadcare.mdnetlify-cms-2-4-0.mdnetlify-cms-gatsby-plugin-4-0-0.mdnetlify-cms-now-supports-gitlab-as-a-backend.md
docs
add-to-your-site.mdarchitecture.mdazure-backend.mdbackends-overview.mdbeta-features.mdbitbucket-backend.mdcloudinary.mdcollection-types.mdconfiguration-options.mdcontributor-guide.mdcustom-widgets.mdcustomization.mddeploy-preview-links.mddocusaurus.mdexamples.mdexternal-oauth-clients.mdgatsby.mdgit-gateway-backend.mdgithub-backend.mdgitlab-backend.mdgridsome.mdhugo.mdintro.mdjekyll.mdmiddleman.mdnetlify-large-media.mdnextjs.mdnuxt.mdopen-authoring.mdreleases.mdsite-generator-overview.mdstart-with-a-template.mdtest-backend.mduploadcare.mdwidgets.md
widgets
boolean.mdcode.mdcolor.mddate.mddatetime.mdfile.mdhidden.mdimage.mdlist.mdmap.mdmarkdown.mdnumber.mdobject.mdrelation.mdselect.mdstring.mdtext.md
writing-style-guide.mdpages
data
gatsby-browser.jsgatsby-config.jsgatsby-node.jsnetlify.tomlpackage.jsonsite.ymlsrc
cms
components
blog-post-template.jsbutton.jschat-button.jscommunity-channels-list.jscommunity.jscontainer.jsdocs-nav.jsdocs-template.jsdocsearch.jsedit-link.jsevent-box.jsfeatures.jsfooter.jsgithub-button.jsgrid.jsheader.jshero-title.jshome-section.jslayout.jslead.jsmarkdown.jsmarkdownify.jsmeta-info.jsnotification.jsnotifications.jspage-hero.jspage.jsrelease.jssection-label.jssidebar-layout.jstable-of-contents.jstwitter-meta.jsvideo-embed.jswhats-new.jswidget-doc.jswidgets.js
html.jsimg
bow.svgcollab.svgdemo.giffeature-access.svgfeature-editor.svgfeature-workflow.svggithub.svgheart.svghelix.svgnetlify-cms-logo.svgnetlify-logo.svgplay.svgscreenshot-content.pngscreenshot-editor.jpgscreenshot-editor.pngscreenshot-editorial.pngscreenshot-identity.pngsearch.svgsmashing-logo.svgwavy-divider.svg
pages
templates
theme.jsutils.jswriting-guide
static
.keep_redirects
yarn.lockadmin
img
11ty-logo.svgcloudinary-console-details.pngcreate-password.pngemail-subject.png
favicon
apple-touch-icon.pngbrowserconfig.xmlfavicon-16x16.pngfavicon-32x32.pngfavicon.icoicon-512x512.pngmstile-144x144.pngmstile-150x150.pngmstile-310x150.pngmstile-310x310.pngmstile-70x70.pngsafari-pinned-tab.svg
gatsby.svggithub-statuses-deploy-previews.pnghugo.svghugo_shortcode_gist.pngmetalsmith.svgmiddleman.svgnetlify-cms-external-media-library.pngnetlify-cms.pngnextjs.svgnuxt.svgpreact.svgpreview-link-check.pngpreview-link-published.pngpreview-link-unpublished.pngscreen shot 2018-01-05 at 4.25.07 pm.pngscreen-shot-2020-08-20-at-14.36.26.pngscreen-shot-2021-11-15-at-4.16.53-pm.pngscreen-shot-2021-11-16-at-1.34.18-PM.pngscreenshot-jekyll-tutorial-blog.pngslack.pngslack.svguc-logo-horizontal.svgwidgets-markdown.PNG@ -1,30 +0,0 @@
|
||||
---
|
||||
title: image
|
||||
label: Image
|
||||
---
|
||||
The image widget allows editors to upload an image or select an existing one from the media library. The path to the image file will be saved to the field as a string.
|
||||
|
||||
* **Name:** `image`
|
||||
* **UI:** file picker button opens media gallery allowing image files (jpg, jpeg, webp, gif, png, bmp, tiff, svg) only; displays selected image thumbnail
|
||||
* **Data type:** file path string
|
||||
* **Options:**
|
||||
|
||||
* `default`: accepts a file path string; defaults to null
|
||||
* `media_library`: settings to apply when a media library is opened by the
|
||||
current widget
|
||||
* `allow_multiple`: *(default: `true`)* when set to `false`, multiple selection will be disabled even if the media library extension supports it
|
||||
* `config`: a configuration object passed directly to the media library; check the documentation of your media library extension for available `config` options
|
||||
* `media_folder` (Beta): file path where uploaded images will be saved specific to this control. Paths can be relative to a collection folder (e.g. `images` will add the image to a sub-folder in the collection folder) or absolute with reference to the base of the repo which needs to begin with `/` (e.g `/static/images` will save uploaded images to the `static` folder in a sub folder named `images`)
|
||||
* `choose_url`: *(default: `true`)* when set to `false`, the "Insert from URL" button will be hidden
|
||||
* **Example:**
|
||||
|
||||
```yaml
|
||||
- label: "Featured Image"
|
||||
name: "thumbnail"
|
||||
widget: "image"
|
||||
choose_url: true
|
||||
default: "/uploads/chocolate-dogecoin.jpg"
|
||||
media_library:
|
||||
config:
|
||||
multiple: true
|
||||
```
|
Reference in New Issue
Block a user