Skip to content
Snippets Groups Projects
Commit fb9255ee authored by Vincent Fontesse's avatar Vincent Fontesse
Browse files

fix(stylesheet): delete import from quilljs cdn

parent ab123a0b
No related branches found
No related tags found
3 merge requests!47Generate new stable version,!45Generate new testing version,!44Resolve "L’hébergement des scripts devrait être local"
Pipeline #23706 passed
......@@ -65,7 +65,6 @@
|
{article ? article.title : $_('pages.article.no_article_title')}
</title>
<link href="https://cdn.quilljs.com/1.0.0/quill.snow.css" rel="stylesheet" />
</svelte:head>
<PageTransition>
......@@ -108,7 +107,7 @@
content={article.content}
/>
{:else}
<div class="ql-editor">
<div class="quill-editor">
{@html article.content}
</div>
{/if}
......@@ -169,6 +168,20 @@
</PageTransition>
<style>
.quill-editor {
box-sizing: border-box;
cursor: text;
line-height: 1.42;
height: 100%;
outline: none;
overflow-y: auto;
padding: 12px 15px;
tab-size: 4;
-moz-tab-size: 4;
text-align: left;
white-space: pre-wrap;
word-wrap: break-word;
}
.content {
text-align: justify;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment