WordPress5.4对古腾堡编辑器BlockEditorAPI常规更新
setMeta type tag namedlatitude latitude attributes lati…
setMeta type tag namedlatitude latitude attributes latitude type namedlatitude latitude longitude type namedlongitude longitude AsyncModeProvider The following component updates synchronously on data store changes
The following component updates asynchronously on data store changes
BlockEditorProvider
* Media Upload Handler
*
* @param {Object} $0 Parameters object passed to the function.
* @param {?Object} $0.additionalData Additional data to include in the request.
* @param {string} $0.allowedTypes Array with the types of media that can be uploaded, if unset all types are allowed.
* @param {Array} $0.filesList List of files.
* @param {?number} $0.maxUploadFileSize Maximum upload size in bytes allowed for the site.
* @param {Function} $0.onError Function called when an error happens.
* @param {Function} $0.onFileChange Function called each time a file or a temporary representation of the file is available.
*/ mediaObject idaltcaptiontitleurl
settings
mediaUploadmyMediaUploadHandler mediaUpload
mediaUpload mediaUpload isOpensetIsOpen
isOpen
StoreSelect a category to begin browsing our wares click to add the product to your shopping cart
<
/
Guide
>
}
弃用wordpress/nux
@wordpress/nux
封装的(
wp.nux
),以及和它一起的
DotTip
都已被弃用。导入软件包将在浏览器控制台中显示警告。建议插件开发者将
wp.nux
和
DotTip
都迁移到
Guide
。
更多WordPress 5.4 的更新,请看: https://www.wpdaxue.com/tag/wordpress-5.4
本文收集自互联网,转载请注明来源。
如有侵权,请联系 wper_net@163.com 删除。
还没有任何评论,赶紧来占个楼吧!