From f64e185550a109e2a0ae726cf8a2c9a2b511b925 Mon Sep 17 00:00:00 2001 From: chris Date: Mon, 17 May 2021 15:58:56 +0200 Subject: [PATCH] Add 'Remove HTML block' --- Remove-HTML-block.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 Remove-HTML-block.md diff --git a/Remove-HTML-block.md b/Remove-HTML-block.md new file mode 100644 index 0000000..8aebaee --- /dev/null +++ b/Remove-HTML-block.md @@ -0,0 +1,24 @@ +Users can paste text into the Omeka HTML block. This is undesirable because html style and classes are included in the html. + +We de not want unexpected formats. + +For this reason we have developed the Markdown text module. Markdown allows basic HTML formatting without extra unwanted text formatting. + +But we also want to remove the HTML block so users cannot include it in their pages. + +You need to copy the page template from the omeka core into the arcHIVE theme. + +From the omeka core copy `./application/view/omeka/site-admin/page/edit.phtml` + +And paste it into the arcHIVE theme `./view/omeka/site-admin/page/edit.phtml` + +Then edit the new file, adding the line `` + +``` + blockLayout()->getLayouts() as $layout): ?> +-->> + + +``` \ No newline at end of file