joaohortsenado
1 week ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
5 additions and
0 deletions
-
frontend/src/__global/js/tinymce/index.js
|
|
@ -36,6 +36,11 @@ window.initTextRichEditor = function (elements, readonly = false, paste_as_text |
|
|
language: 'pt_BR', |
|
|
language: 'pt_BR', |
|
|
branding: false, |
|
|
branding: false, |
|
|
forced_root_block: 'p', |
|
|
forced_root_block: 'p', |
|
|
|
|
|
// Por padrão o TinyMCE grava links para o próprio SAPL relativos à página
|
|
|
|
|
|
// de edição (ex.: "../../materia/1"), que quebram quando o conteúdo é
|
|
|
|
|
|
// exibido em outra página (pauta, PDF, API). Mantém o caminho a partir da
|
|
|
|
|
|
// raiz ("/materia/1"); reabrir e salvar corrige os links já gravados.
|
|
|
|
|
|
relative_urls: false, |
|
|
paste_as_text, |
|
|
paste_as_text, |
|
|
plugins: 'table lists advlist link code', |
|
|
plugins: 'table lists advlist link code', |
|
|
toolbar: 'undo redo | blocks | bold italic | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | link | code | removeformat ', |
|
|
toolbar: 'undo redo | blocks | bold italic | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | link | code | removeformat ', |
|
|
|