腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
圈层
工具
MCP广场
文章/答案/技术大牛
搜索
搜索
关闭
发布
搜索
关闭
文章
问答
(144)
视频
开发者手册
清单
用户
专栏
沙龙
全部问答
原创问答
Stack Exchange问答
更多筛选
回答情况:
全部
有回答
回答已采纳
提问时间:
不限
一周内
一月内
三月内
一年内
问题标签:
未找到与 相关的标签
筛选
重置
1
回答
如何从外部调用在Gutenberg Block中执行applyFormat?
var html = wp.data.select('core/
block-editor
').getSelectedBlock().attributes.content; var value = wp.richText.create; value = wp.richText.applyFormat(value, { type:
浏览 0
修改于2020-06-12
得票数 1
1
回答
如何才能拒绝使用自定义Gutenberg块的旧版本,但保留新版本呢?
* * @see https://developer.wordpress.org/
block-editor
/reference-guides/block-api/block-registration* * @see https:/
浏览 0
提问于2022-12-01
得票数 3
回答已采纳
2
回答
WordPress古腾堡反应使__experimentalUseInnerBlocksProps不再是经验金属
我有一个带导入的插件import { useInnerBlocksProps } from '@wordpress/
block-editor
'; 但是,如果没有古腾堡插件,它将无法适用于旧版本或WordPress
浏览 0
提问于2021-11-12
得票数 2
回答已采纳
1
回答
ng-型外控制器
)">Edit</a> </div> <div id="
block-editor
$editor_html = $compile($editor_html)($scope); angular.element(document.querySelector("#
block-e
浏览 2
修改于2020-06-20
得票数 5
2
回答
从子块更新父块属性?
["image", "svg"]; const parentBlock = select("core/
block-editor
").getBlock(clientId); parentBlock.clientIdco
浏览 21
提问于2022-11-27
得票数 0
1
回答
如何从古腾堡的选定块中获取startIndex和endIndex?
📷wp.data.select('core/
block-editor
').getSelectedBlock()📷 返回的对象没有任何方法来检索块中的选择开始和结束P.s:我可以在道具中找到startIndex,endIndex当我用这个例子(https://developer.wordpress.org/
block-editor
/tutorials/format-api
浏览 0
提问于2020-02-29
得票数 0
1
回答
古腾堡:如何用useSelect和AsyncModeProvider true刷新useSelect?
我试着理解这里https://developer.wordpress.org/
block-editor
/packages/packages-data/关于useSelect的一个例子的片段。在文档中有这样的功能: const count = useSelect( ( select ) => { return select( 'core/
block-editor
浏览 0
修改于2021-01-06
得票数 1
1
回答
如何使用wp媒体上传自由的反应组件?
https://github.com/WordPress/gutenberg/tree/master/packages/
block-editor
/src/components/media-upload{ Button } from '@wordpress/components'; import { MediaUpload, MediaUploadCheck } from '@wordpress/
block-ed
浏览 0
提问于2020-06-04
得票数 0
1
回答
在控制台中生成的导致阻塞验证失败的错误
i18n'; useBlockProps, RichText,} from '@wordpress/
block-editor
additional options for our RichText component - https://github.com/WordPress/gutenberg/blob/HEAD/packages/
block-editor<
浏览 0
修改于2023-03-14
得票数 2
1
回答
如何将不同的样式应用于基于后元值的所有块?
对我来说,最明显的方法是向<div class="
block-editor
">元素(如<div class="
block-editor
dark-editor-mode"> )添加一个类。
浏览 0
修改于2020-05-01
得票数 0
回答已采纳
1
回答
如何在古腾堡改变块控制图标?
import {BlockControls} from "@wordpress/
block-editor
";
浏览 0
提问于2020-03-10
得票数 0
1
回答
自定义块库-未显示的TypeError: setAttributes不是一个函数
* */* * @see https://developer.wordpress.org/
block-editor
/reference-guides/packages/packages-block-editor/#useb
浏览 0
提问于2023-02-24
得票数 0
回答已采纳
1
回答
Gutenberg在自定义格式中添加额外的属性
我正在使用以下指南创建自定义格式(向“格式”工具栏添加自定义选项):https://developer.wordpress.org/
block-editor
/how-to-guides/format-apiregisterFormatType, toggleFormat } from '@wordpress/rich-text'; import { RichTextToolbarButton } from '@wordpress/
block-editor
浏览 0
提问于2022-05-21
得票数 1
1
回答
@wordpress/components Button变体没有样式
</Button>它从不以变体形式呈现:我确信这应该会根据这些文档呈现不同的内容:"dependencies": { "@wordpress/blo
浏览 0
修改于2021-10-27
得票数 1
回答已采纳
1
回答
具有模板返回块计数为零的InnerBlocks
setAttributes } = props const { removeBlock } = useDispatch('core/
block-editor
') blockCount: select('core/
block-editor
').getBlockCount
浏览 10
修改于2020-02-08
得票数 0
回答已采纳
1
回答
WP,如何导入EditableText (作为RichText的替代)?
import { EditableText } from '@wordpress/
block-editor
'import { RichText } from '@wordpress/
block-editor
' console.log
浏览 3
修改于2020-05-28
得票数 1
回答已采纳
2
回答
Gutenberg: useDispatch不是一个函数- @wordpress/data
edit: function( props ) { const { replaceInnerBlocks } = useDispatch("core/
block-editor
");
浏览 0
提问于2019-10-23
得票数 2
回答已采纳
1
回答
古腾堡.updateBlock
然而,我需要它的一个例子使用:https://developer.wordpress.org/
block-editor
/data/data-core-editor/#updateBlockAttributes
浏览 24
提问于2019-06-15
得票数 2
回答已采纳
1
回答
Gutenberg没有保存我的自定义块数据--这个块包含意外的或无效的内容。
* */ * @see https://developer.wordpress.org/
block-editor
/packages/packages-block-editor/#useBlockProps* * @see https:
浏览 8
提问于2022-07-18
得票数 0
1
回答
古腾堡街区移动
我在努力:const [ index
浏览 0
提问于2022-08-05
得票数 2
第 2 页
第 3 页
第 4 页
第 5 页
第 6 页
第 7 页
第 8 页
点击加载更多
领券