capsules plus a la ligne, site name MATHALLO wysiwyg style
This commit is contained in:
@@ -16,6 +16,7 @@ settings:
|
|||||||
- undo
|
- undo
|
||||||
- redo
|
- redo
|
||||||
- heading
|
- heading
|
||||||
|
- style
|
||||||
- bold
|
- bold
|
||||||
- italic
|
- italic
|
||||||
- bulletedList
|
- bulletedList
|
||||||
@@ -42,5 +43,10 @@ settings:
|
|||||||
multiBlock: true
|
multiBlock: true
|
||||||
ckeditor5_sourceEditing:
|
ckeditor5_sourceEditing:
|
||||||
allowed_tags: { }
|
allowed_tags: { }
|
||||||
|
ckeditor5_style:
|
||||||
|
styles:
|
||||||
|
-
|
||||||
|
label: mathallo
|
||||||
|
element: '<span class="mathallo-site-name">'
|
||||||
image_upload:
|
image_upload:
|
||||||
status: false
|
status: false
|
||||||
|
|||||||
@@ -29,7 +29,7 @@ filters:
|
|||||||
filter_autop:
|
filter_autop:
|
||||||
id: filter_autop
|
id: filter_autop
|
||||||
provider: filter
|
provider: filter
|
||||||
status: true
|
status: false
|
||||||
weight: -45
|
weight: -45
|
||||||
settings: { }
|
settings: { }
|
||||||
filter_caption:
|
filter_caption:
|
||||||
@@ -57,7 +57,7 @@ filters:
|
|||||||
status: false
|
status: false
|
||||||
weight: -44
|
weight: -44
|
||||||
settings:
|
settings:
|
||||||
allowed_html: ''
|
allowed_html: '<span class="mathallo-site-name">'
|
||||||
filter_html_help: true
|
filter_html_help: true
|
||||||
filter_html_nofollow: false
|
filter_html_nofollow: false
|
||||||
filter_html_escape:
|
filter_html_escape:
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1,14 @@
|
|||||||
|
@import "partials/colors";
|
||||||
|
@import "partials/fonts";
|
||||||
|
|
||||||
|
|
||||||
|
span.mathallo-site-name{
|
||||||
|
font-family: 'Fredoka';
|
||||||
|
text-transform:uppercase;
|
||||||
|
color: $bleu_site;
|
||||||
|
font-weight: 500;
|
||||||
|
}
|
||||||
|
|
||||||
|
span.footnotes-preview{
|
||||||
|
background-color: $rose;
|
||||||
|
}
|
||||||
@@ -0,0 +1,23 @@
|
|||||||
|
import { createServer, build } from 'vite'
|
||||||
|
|
||||||
|
// Build watcher : écrit les fichiers dist sur disque en continu
|
||||||
|
const watcher = await build({
|
||||||
|
build: { watch: {} },
|
||||||
|
})
|
||||||
|
|
||||||
|
// Dev server : HMR sur localhost:5173
|
||||||
|
const server = await createServer()
|
||||||
|
await server.listen()
|
||||||
|
|
||||||
|
console.log('\n HMR actif + dist générés en watch\n')
|
||||||
|
|
||||||
|
const shutdown = async () => {
|
||||||
|
await Promise.allSettled([
|
||||||
|
watcher.close(),
|
||||||
|
server.close(),
|
||||||
|
])
|
||||||
|
process.exit(0)
|
||||||
|
}
|
||||||
|
|
||||||
|
process.on('SIGINT', shutdown)
|
||||||
|
process.on('SIGTERM', shutdown)
|
||||||
@@ -5,6 +5,8 @@ description: mathallo drupal theme based on stark
|
|||||||
package: mathallo
|
package: mathallo
|
||||||
core: 0.x
|
core: 0.x
|
||||||
core_version_requirement: ^8 || ^9 || ^10
|
core_version_requirement: ^8 || ^9 || ^10
|
||||||
|
ckeditor5-stylesheets:
|
||||||
|
- assets/dist/wysiwyg.css
|
||||||
# libraries:
|
# libraries:
|
||||||
# - caravane/global
|
# - caravane/global
|
||||||
regions:
|
regions:
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
"version": "0.0.0",
|
"version": "0.0.0",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "vite",
|
"dev": "node dev.mjs",
|
||||||
"build": "vite build",
|
"build": "vite build",
|
||||||
"preview": "vite preview"
|
"preview": "vite preview"
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
{% apply footnotes_spaceless %}
|
{% apply footnotes_spaceless %}
|
||||||
{# footnotes/footnote-links.html.twig #}
|
|
||||||
{%- if footnote_links -%}
|
{%- if footnote_links -%}
|
||||||
<div class="footnote__citations-wrapper">
|
<div class="footnote__citations-wrapper">
|
||||||
{%- for footnote_link in footnote_links -%}
|
{%- for footnote_link in footnote_links -%}
|
||||||
|
|||||||
@@ -17,10 +17,13 @@ export default defineConfig({
|
|||||||
build: {
|
build: {
|
||||||
outDir: 'assets/dist',
|
outDir: 'assets/dist',
|
||||||
rollupOptions: {
|
rollupOptions: {
|
||||||
input: 'assets/js/main.js',
|
input: {
|
||||||
|
main: 'assets/js/main.js',
|
||||||
|
wysiwyg: 'assets/scss/wysiwyg.scss',
|
||||||
|
},
|
||||||
output: {
|
output: {
|
||||||
entryFileNames: 'main.js',
|
entryFileNames: '[name].js',
|
||||||
assetFileNames: 'main.css'
|
assetFileNames: '[name].css',
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user