@wordpress/editor
Version:
Enhanced block editor for WordPress posts.
8 lines (7 loc) • 696 B
Source Map (JSON)
{
"version": 3,
"sources": ["../../src/hooks/note-format.js"],
"sourcesContent": ["import { registerFormatType } from '@wordpress/rich-text';\nimport {\n\tNOTE_FORMAT_NAME,\n\tnoteFormat,\n} from '../components/collab-sidebar/format';\n\n/*\n * Registered on import rather than from a component: HTML is converted to a\n * rich text record eagerly, both when blocks are parsed and while a rich text\n * field first renders. A format registered after that leaves already-parsed\n * markers as `core/unknown` until their content changes.\n */\nregisterFormatType( NOTE_FORMAT_NAME, noteFormat );\n"],
"mappings": ";;;AAAA,uBAAmC;AACnC,oBAGO;AAAA,IAQP,qCAAoB,gCAAkB,wBAAW;",
"names": []
}