@superhuit/starterpack-editor
v2.6.6
Published
Starterpack's components and hooks for WP Editor.
Downloads
178
Keywords
Readme
Starterpack Editor
Starterpack's components and hooks for WP Editor
Usage
import { PanelDesign } from '@superhuit/starterpack-editor;
Components
- PostsSelectControl
- TermsSelectControl
- PreviewBlockImage
- PanelDesign
Hooks
- useAcfField
- useGraphQlApi
- useIsPostType
- useLocale
- usePosts
- useRestAPI
- useTerms
Constants
- PAGE_PT_NAME
- POST_PT_NAME
- TAG_TAX_NAME
- CATEGORY_TAX_NAME
- WP_TERM_REST
- WP_POST_REST
- WP_MEDIA_REST
Utils
- getImagePromise
- escapeHTML