Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
lib
unicaen
renderer
Commits
ee33ac4a
Commit
ee33ac4a
authored
Oct 22, 2021
by
Thibaut Vallee
Browse files
suppression des macros dans tinymce pour le css, coller en temps que text brut
parent
ff152bc0
Pipeline
#11206
passed with stage
in 26 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
view/unicaen-renderer/template/modifier.phtml
View file @
ee33ac4a
...
...
@@ -88,11 +88,13 @@ use UnicaenRenderer\Form\Template\TemplateForm;
});
tinymce
.
init
({
selector
:
'
.css
'
,
toolbar
:
'
newdocument undo redo
| template
'
,
toolbar
:
'
newdocument undo redo
'
,
resize
:
true
,
language
:
'
fr_FR
'
,
entity_encoding
:
"
raw
"
,
plugins
:
'
lists template
'
,
plugins
:
'
paste
'
,
paste_as_text
:
true
,
//Forcer le coler sans style
forced_root_block
:
""
,
//Pas de balise
<
p
>
autour
templates
:
macros
,
statusbar
:
true
,
browser_spellcheck
:
true
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment