Fonto Why & How

Fonto Why & How: How do I set up linting for my editor!?

We manage an example editor hosted on GitHub, which is actively contributed to by a diverse group of developers. Given the inherent diversity in their choice of operating systems and IDEs, achieving uniformity in coding styles becomes challenging. To address this issue, we use ESLint, a tool designed to assist us in adhering to the […]

Fonto Why & How: How do I set up linting for my editor!? Read More »

Fonto Why & How: How do I implement profiles!?

In this weekly series Martin describes a question that was raised by a Fonto developer, how it was resolved and why Fonto behaved like that in the first place. This week something different. We recently launched the Profiles feature. In this post I’ll describe how we implemented this in our Documentation editor! Profiles API The

Fonto Why & How: How do I implement profiles!? Read More »

Fonto Why & How: How do I debug validation issues!?

In this weekly series, Martin describes a question that was raised by a Fonto developer, how it was resolved and why Fonto behaved like that in the first place. An error most developers recognize will be ‘the validation for this document failed’. Or operations that just refuse to turn enabled. This post introduces the new

Fonto Why & How: How do I debug validation issues!? Read More »

Fonto Why & How: How do I make an operation that opens a modal enabled in the correct situation?!

In this weekly series, Martin describes a question that was raised by a Fonto developer, how it was resolved and why Fonto behaved like that in the first place. This week, a developer reached out! They have a modal that manages a prolog: it can either insert a new prolog, or it can edit one.

Fonto Why & How: How do I make an operation that opens a modal enabled in the correct situation?! Read More »

Fonto Why and How: How can I prevent nodes from being ‘cut’?!

In this weekly series, Martin describes a question that was raised by a Fonto developer, how it was resolved and why Fonto behaved like that in the first place. This week, a partner reached out. Their authors are ‘cutting’ referenced nodes and pasting them in different documents! How can Fonto prevent these documents from breaking?!

Fonto Why and How: How can I prevent nodes from being ‘cut’?! Read More »

Fonto Why & How: How to insert an image caption with XQuery Update Facility

In this weekly series Martin describes a question that was raised by a Fonto developer, how it was resolved and why Fonto behaved like that in the first place. This week, a partner wondered how to insert a caption to a number of different elements. They already had an operation, but it did not always

Fonto Why & How: How to insert an image caption with XQuery Update Facility Read More »

Scroll to Top