it is possible to deactivate the kirbytext for all textelements and use pure markdown instead (extra)? The problem here is, that our react frontend is not made for parsing kirbytext, and I do not want to reinvent the wheel, so far I’ve modified Form.php to parse kirbytext that is coming via the api. But for the fb_builder display fields it is not possible, somehow.
so I’ve added the ‘panel’ => kirbytext = false
and it’s working for basic markdown elements such as “link”
Unfortunately for “image” it’s still kirbytext
yes, the code works of course. But if I click on the “add image” icon, kirbytext will show up and the customer needs to rewrite the code. This is unpractical in production for non-tech people.
If you’re looking for a “wysiwyg field” for better authoring experience, check out https://github.com/getkirby/editor instead of textarea field that basically allows editors to write in kirbytext flavoured markdown.
The editor field doesn’t use kirbytext. In fact it uses an entire new paradigm of storing its content in “blocks” which are saved as json in the backend. You need to render these blocks in the frontend.