Description
Jikji(Korean: 직지심체요절) is the abbreviated title of a Korean Buddhist document whose title translates as “Anthology of Great Buddhist Priests’ Zen Teachings”. … Jikji was published … in 1377 …, 78 years before Johannes Gutenberg’s acclaimed “42-Line Bible” was printed between 1452 and 1455.
— Wikipedia, “Jikji”
Jikji is short for Jikji Simche Yojeol(직지심체요절). This plugin and two block themes take their names from that one title: Jikji(Korean: 직지), Simche(Korean: 심체) and Yojeol(Korean: 요절).
Jikji, the plugin, is a WordPress page builder that keeps a page as a document: an HTML fragment and its style rows, the CSS of each element ID and of each class. You edit the document in a visual builder — a navigator, a canvas styled by your theme’s own stylesheets, and a style panel that offers the theme’s theme.json presets.
Publishing stores the page’s CSS and a sanitized copy of its HTML in the database, and the site prints that CSS inline. On the site, that HTML is the page’s content area; the theme’s header, footer and layout stay. Nothing in a document is executed: there is no expression or template language, no code element, and no PHP is generated from a page.
From a save to a request
- Edit — open the builder with Edit with Jikji on the page’s edit screen, or from the admin bar on the site.
- Save — Jikji checks the document against a fixed allow-list of elements, attributes, link schemes and inline styles, sanitizes inline SVG, and stores it with its style rows. A save that would add anything else is refused, with the reason. A draft is stored, not published.
- Publish — publishing the page in WordPress, or saving a page that is already published, stores the page’s CSS and the sanitized HTML with the post, and the CSS of the classes in an option. If a publish fails, the previous published version stays live.
- Request — the page’s content area is the recorded HTML. Block islands and shortcodes render in that request, as they do in post content.
Blocks stay blocks
Any registered block can be one element of a Jikji page: a block island. You edit it with the real block editor in the builder’s Block tab, and the site renders it with render_block() after WordPress’s own filtering of post content. A post written in the block editor can be converted into a Jikji document once, one way: paragraphs, headings, lists, images, quotes and buttons become Jikji elements, and other blocks stay as islands. The post’s own post_content is never changed.
The theme’s design system
With a block theme, the style panel offers the theme’s presets — colours, font sizes, spacing — and the builder’s breakpoints follow its settings.viewport. A theme can also give the builder a design-system manifest, with its component classes, and patterns of its own that the builder inserts as copies.
In the builder
- Section, Div, Heading, Text, Rich Text, Blockquote, List, Link, Button, Image, Video, Icon, SVG, Shortcode, and any WordPress block.
- Styles per element ID and per class, states such as hover and focus, and desktop, tablet and mobile breakpoints.
- Undo and redo, and revisions you can restore (20 kept per page by default).
- Edit with Jikji in the admin bar on the site, for the pages on the screen.
What it does not do
- It builds pages, not templates. A document replaces a page’s content area. The header, footer and templates are the theme’s.
- It does not bind data. A document is static: there are no conditions, loops or fields. A shortcode can bring dynamic output into a page.
- It does not run scripts. Scripts, event handlers, iframes and embedded objects are not on the allow-list. Forms, players and the like come from their own plugin’s shortcode or block, and are checked in Preview.
- It stores an allow-list of CSS. Compound selectors, pseudo-elements,
@font-faceand@keyframesbelong in the theme stylesheet. - It is desktop-first. Tablet and mobile styles apply up to the two widths of the block theme’s
settings.viewport, or of the settings screen with a classic theme.
Documentation
The guide — getting started, the editor, blocks, styles and troubleshooting — is at jikji.build/guide.
External services
Jikji does not connect to any external service. It has no service of its own, sends no usage data to its authors and adds no tracking. The icon sets the Icon block can use (Remix Icon and Bootstrap Icons, off by default) ship with the plugin, so enabling one loads its stylesheet and font from your own site.
Source code
The builder is written in TypeScript and React. Its source ships with the plugin in the editor/ directory (editor/src/, with the package.json, vite.config.ts and tsconfig.json that build it) and is built into assets/dist/. To rebuild it: cd editor && npm ci && npm run build (Node 22). The builder runs on the React that WordPress ships (the react and react-dom scripts); the build includes Radix UI Checkbox (MIT), Lucide (ISC), clsx (MIT) and tailwind-merge (MIT), and the icon name lists of Remix Icon 4.8.0 (Apache-2.0) and Bootstrap Icons 1.13.1 (MIT) for the Icon block’s search.
The icon sets in assets/iconsets/ are the stylesheets and woff2 fonts of the same two packages, each with its license file: Remix Icon 4.8.0 (Apache-2.0 — later releases are under a different license and are not used) and Bootstrap Icons 1.13.1 (MIT). cd editor && npm run icons regenerates them and the name lists from the pinned packages.
The copyright and license notices of the libraries in the builder’s bundle, at the versions editor/package-lock.json pins, are in assets/third-party-licenses.txt.
The builder’s sources and build setup ship inside the plugin, so assets/dist/ can be rebuilt from the plugin itself: everything in editor/ but the editor’s tests and development scripts — src/, package.json, package-lock.json, vite.config.ts, tsconfig.json, tsconfig.build.json, vitest.config.ts, components.json, index.html and scripts/build-icons.mjs.
Installation
- Install and activate the plugin. Activation creates the plugin’s two tables (style rows, and which document uses them) and grants the
jikji_compilecapability to administrators (on multisite, to network super admins). - Open Appearance Jikji to choose which post types can have a Jikji document (
pageby default), the icon sets, the breakpoints for a classic theme, the removal of HTML comments and how many revisions to keep. - Create a page, open its edit screen and click Edit with Jikji.
- Add a Section, a Heading and a Text, style them in the right panel, and Save. While the page is a WordPress draft nothing is published.
- Publish the page from WordPress. From then on every save is published at once.
Requirements: WordPress 6.9 or newer and PHP 7.4 or newer. Any theme serves page documents; with a block theme the builder also offers its presets and follows its breakpoints.
FAQ
-
Does Jikji replace the block editor?
-
No. A Jikji document replaces what visitors see for the pages you build with it; other content keeps using blocks. Blocks can also be used inside a Jikji page as block islands. When a page with a published Jikji document is opened in the block editor, a notice says that those blocks are not what visitors see.
-
Who can build with Jikji?
-
Users with the
jikji_compilecapability who can also edit the page — administrators by default, and network super admins on multisite. Editors without it keep editing fields and block content as usual. -
Which HTML can a page hold?
-
The elements and attributes of a fixed list — sections, text, lists, media, tables and form controls, with
aria-*anddata-*attributes — links with the protocols WordPress allows in post content by default (http,https,mailto,tel,ftpand the like), inline styles that pass the plugin’s CSS rules, and inline SVG with its own<style>, sanitized. Scripts, event handlers, a page-level<style>, iframes and embedded objects are not on the list. The builder refuses an edit that would leave the list, and a save refuses it too.A document may hold markup Jikji does not support — for example a script, an embedded object, or markup another tool saved. Jikji keeps it in the stored document, never runs or outputs it, and shows it in the builder as a read-only block you can delete.
-
Where is my work stored?
-
The document’s HTML is in post meta (
_jikji_content), style rows are in the table{prefix}jikji_styles, revisions arejikji_revisionposts, the published HTML and the page’s CSS are in post meta (_jikji_published) and the CSS of the classes is in the optionjikji_common_css. Jikji writes no files. A post’s own block content (post_content) is left as it is. -
What happens to a page if something goes wrong?
-
If a publish fails, the previous published version stays live and the error is shown to administrators. A page that was published with Jikji before but has no current published copy (for example, one published under an older version of the allow-list) is drawn from its stored document at the request, through the same allow-list. A page whose Jikji document was never published shows its own content.
-
What happens when I deactivate or delete the plugin?
-
Deactivating: WordPress shows each post’s own content again — for a page that was built only in Jikji that may be nothing. The documents stay stored.
Deleting keeps Jikji’s data by default: the stored documents and revisions, the style tables and the settings are there again when you install Jikji again. To delete them with the plugin, choose “Delete the data when Jikji is deleted” when you deactivate it on the Plugins screen (on a network: Network Deactivate, for all its sites), then delete it from that screen within the hour, as the same user. Deleting with WP-CLI or the REST API, or by another user, keeps the data. Posts and pages themselves, and their block content, are never touched.
-
Does it work with my theme?
-
Page documents work with any theme and are styled by the theme’s stylesheets on the canvas and on the site. With a block theme the builder also offers the theme’s presets, classes and patterns.
Reviews
There are no reviews for this plugin.
Contributors & Developers
“Jikji” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “Jikji” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
0.2.0
- First release on wordpress.org.
