I wish CKEditor would have support for <dl>, but it is unlikely that they will add any time soon[0], specially when in 2018 they already “forgotten”[1] that this was requested back in 2007[2]. Therefore, in the demo i did it more or less like in the original design, with “extra” <h4>, although i added them under a <h3>, to avoid “gaps” in the outline. [0]: https://github.com/ckeditor/ckeditor5/issues/775 [1]: https://github.com/ckeditor/ckeditor5/issues/775#issuecomment-358591747 [2]: https://dev.ckeditor.com/ticket/1333
27 lines
672 B
PL/PgSQL
27 lines
672 B
PL/PgSQL
-- Deploy camper:campsite_type_i18n to pg
|
|
-- requires: roles
|
|
-- requires: schema_camper
|
|
-- requires: campsite_type
|
|
-- requires: language
|
|
|
|
begin;
|
|
|
|
set search_path to camper, public;
|
|
|
|
create table campsite_type_i18n (
|
|
campsite_type_id integer not null references campsite_type,
|
|
lang_tag text not null references language,
|
|
name text not null,
|
|
spiel xml not null,
|
|
info xml not null,
|
|
facilities xml not null,
|
|
description xml not null,
|
|
primary key (campsite_type_id, lang_tag)
|
|
);
|
|
|
|
grant select on table campsite_type_i18n to guest;
|
|
grant select on table campsite_type_i18n to employee;
|
|
grant select, insert, update, delete on table campsite_type_i18n to admin;
|
|
|
|
commit;
|