Skip to main content

Tobi Ogunsina, Lead Product Manager, GOV.UK Publishing, GDS

Introducing GOV.UK’s new publishing strategy

A graphic design illustration showing GOV.UK’s homepage, and the GOV.UK logo on a smartphone screen.

We’ve launched a new strategy for the GOV.UK Publishing Service. Learn how our plans will make it easier and quicker for us to publish content and help GOV.UK become multi-channel.

How we're saving publishers time by converting formatted text

Screenshot of a javascript code snippet of the paste-html-to-govspeak implementation. The first line is a code comment reading: “npm install paste-html-to-govspeak”. The next line imports the module, reading: “import { pasteListener } from 'paste-html-to-govspeak'”. The last line gives an example of how to attach the paste event listener to the element, this reads as “element.addEventListener('paste', pasteListener)”.

We’ve reduced the time and effort it takes to create content on GOV.UK by improving the pasting of formatted content. Here’s why and how we did it.