/
githubmirror
/
gutenberg
Обзор
Документация
Войти
/
githubmirror
/
gutenberg
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
trunk
packages/patterns/src/store/selectors.js
10 строк
338 B
Glen Davies
Remove experimental prefixes from pattern package methods as they are not exported (#54338)
12 сен 2023, 00:03
Не верифицирован
12 сен 2023, 00:03
8f63865
Код
Авторство
О чём код?
/** * Returns true if pattern is in the editing state. * * @param {Object} state Global application state. * @param {number} clientId the clientID of the block. * @return {boolean} Whether the pattern is in the editing state. */ export function isEditingPattern( state, clientId ) { return state.isEditingPattern[ clientId ]; }