Editor Customization

Editor extension points

Possible Livingdocs Editor UI customizations:

Editor Configuration

In addition to this some behaviour can be customised using the JSON configuration.

Customization examples

The editor (like the server) usually has an app/editor.js file where code customizations are registered and that looks something like this:

const liEditor = require('@livingdocs/editor')()

// Register a custom filter for the dashboard
const layoutsFilter = require('./custom/filters/layouts_filter')
liEditor.searchFilters.registerListV2('layouts', layoutsFilter)

// Example of changing the date locale
// moment = require('moment')
// momentDe = require('moment/locale/de')
// moment.locale('de')

liEditor.mount()