update editorjs blocks
This commit is contained in:
parent
d324bd2850
commit
5ac4a85e77
|
@ -784,7 +784,6 @@ $links: (
|
|||
|
||||
.ejs-link {
|
||||
margin: 10px auto;
|
||||
max-width: 95%;
|
||||
border: 2px solid $color-very-light-grey;
|
||||
border-radius: 5px;
|
||||
|
||||
|
|
|
@ -72,6 +72,7 @@ core:
|
|||
blocks:
|
||||
link: 'editorjs/link.html.twig'
|
||||
code: 'editorjs/code.html.twig'
|
||||
paragraph: 'editorjs/paragraph.html.twig'
|
||||
|
||||
file_manager:
|
||||
mimes:
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
<div class="ejs-link-content--title">{{- meta.title -}}</div>
|
||||
{% endif %}
|
||||
{% if meta.title %}
|
||||
<div class="ejs-link-content--description">{{- meta.description -}}</div>
|
||||
<div class="ejs-link-content--description">{{- meta.description|nl2br -}}</div>
|
||||
{% endif %}
|
||||
{% if link %}
|
||||
<div class="ejs-link-content--link">{{- link -}}</div>
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
{%- block render -%}
|
||||
<p>{{- text|raw -}}</p>
|
||||
{%- endblock -%}
|
Loading…
Reference in New Issue