feat(pico-content-editor): first step
This commit is contained in:
parent
810e39fafd
commit
d93e5c0353
@ -7,7 +7,8 @@
|
|||||||
"license": "EUPL-1.2",
|
"license": "EUPL-1.2",
|
||||||
"minimum-stability": "dev",
|
"minimum-stability": "dev",
|
||||||
"require": {
|
"require": {
|
||||||
"seacms/app": "dev-master"
|
"seacms/app": "dev-master",
|
||||||
|
"seacms/pico-content-editor": "master"
|
||||||
},
|
},
|
||||||
"extra": {
|
"extra": {
|
||||||
"installer-name": "seacms"
|
"installer-name": "seacms"
|
||||||
@ -17,6 +18,10 @@
|
|||||||
"type": "vcs",
|
"type": "vcs",
|
||||||
"url": "https://git.defis.info/SeaCMS/seacms-app"
|
"url": "https://git.defis.info/SeaCMS/seacms-app"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"type": "vcs",
|
||||||
|
"url": "https://git.defis.info/SeaCMS/pico-content-editor"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"type": "package",
|
"type": "package",
|
||||||
"package": {
|
"package": {
|
||||||
|
117
composer.lock
generated
117
composer.lock
generated
@ -4,7 +4,7 @@
|
|||||||
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
||||||
"This file is @generated automatically"
|
"This file is @generated automatically"
|
||||||
],
|
],
|
||||||
"content-hash": "71a57818ccd2bd6995883df3e0c06795",
|
"content-hash": "4bbfc746ab131a7cf6b195300eb241b7",
|
||||||
"packages": [
|
"packages": [
|
||||||
{
|
{
|
||||||
"name": "erusev/parsedown",
|
"name": "erusev/parsedown",
|
||||||
@ -212,6 +212,63 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "pixel418/markdownify",
|
||||||
|
"version": "v2.3.1",
|
||||||
|
"source": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://github.com/Elephant418/Markdownify.git",
|
||||||
|
"reference": "891be2176858712c6c4581da410e96fc2019e3f0"
|
||||||
|
},
|
||||||
|
"dist": {
|
||||||
|
"type": "zip",
|
||||||
|
"url": "https://api.github.com/repos/Elephant418/Markdownify/zipball/891be2176858712c6c4581da410e96fc2019e3f0",
|
||||||
|
"reference": "891be2176858712c6c4581da410e96fc2019e3f0",
|
||||||
|
"shasum": ""
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"php": ">=5.4.0"
|
||||||
|
},
|
||||||
|
"require-dev": {
|
||||||
|
"phpunit/phpunit": "^4.8"
|
||||||
|
},
|
||||||
|
"type": "lib",
|
||||||
|
"autoload": {
|
||||||
|
"psr-4": {
|
||||||
|
"Markdownify\\": "src",
|
||||||
|
"Test\\Markdownify\\": "test"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"notification-url": "https://packagist.org/downloads/",
|
||||||
|
"license": [
|
||||||
|
"MIT"
|
||||||
|
],
|
||||||
|
"authors": [
|
||||||
|
{
|
||||||
|
"name": "Milian Wolff",
|
||||||
|
"email": "mail@milianw.de",
|
||||||
|
"homepage": "http://milianw.de"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Thomas Zilliox",
|
||||||
|
"email": "hello@tzi.fr",
|
||||||
|
"homepage": "https://tzi.fr"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"description": "The HTML to Markdown converter for PHP ",
|
||||||
|
"homepage": "https://github.com/elephant418/Markdownify",
|
||||||
|
"keywords": [
|
||||||
|
"converter",
|
||||||
|
"html",
|
||||||
|
"markdown",
|
||||||
|
"markdownify"
|
||||||
|
],
|
||||||
|
"support": {
|
||||||
|
"issues": "https://github.com/Elephant418/Markdownify/issues",
|
||||||
|
"source": "https://github.com/Elephant418/Markdownify/tree/master"
|
||||||
|
},
|
||||||
|
"time": "2019-01-22T16:33:43+00:00"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "seacms/app",
|
"name": "seacms/app",
|
||||||
"version": "dev-master",
|
"version": "dev-master",
|
||||||
@ -263,6 +320,64 @@
|
|||||||
],
|
],
|
||||||
"time": "2023-02-21T22:51:48+00:00"
|
"time": "2023-02-21T22:51:48+00:00"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "seacms/pico-content-editor",
|
||||||
|
"version": "dev-master",
|
||||||
|
"source": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://git.defis.info/SeaCMS/pico-content-editor",
|
||||||
|
"reference": "88c1de4fcd7c92197f591dd5140b930ffa832603"
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"php": "^8.0",
|
||||||
|
"pixel418/markdownify": "^2.3"
|
||||||
|
},
|
||||||
|
"default-branch": true,
|
||||||
|
"type": "pico-plugin",
|
||||||
|
"autoload": {
|
||||||
|
"psr-4": {
|
||||||
|
"PicoContentEditor\\": "src/"
|
||||||
|
},
|
||||||
|
"classmap": [
|
||||||
|
"PicoContentEditor.php"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"license": [
|
||||||
|
"EUPL-1.2"
|
||||||
|
],
|
||||||
|
"authors": [
|
||||||
|
{
|
||||||
|
"name": "Nicolas Liautaud",
|
||||||
|
"homepage": "https://github.com/nliautaud",
|
||||||
|
"role": "Lead Developer for fork"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Jérémy Dufraisse",
|
||||||
|
"homepage": "https://github.com/J9rem",
|
||||||
|
"role": "SeaCMS developer"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Thatoo",
|
||||||
|
"homepage": "https://github.com/Thatoo",
|
||||||
|
"role": "SeaCMS developer"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"description": "A WYSIWYG content editor plugin for SeaCMS",
|
||||||
|
"homepage": "https://git.defis.info/SeaCMS/pico-content-editor",
|
||||||
|
"keywords": [
|
||||||
|
"editor",
|
||||||
|
"pico",
|
||||||
|
"pico-content-editor",
|
||||||
|
"picocms",
|
||||||
|
"picocms-plugin"
|
||||||
|
],
|
||||||
|
"support": {
|
||||||
|
"docs": "https://git.defis.info/SeaCMS/pico-content-editor/src/branch/master/README.md",
|
||||||
|
"issues": "https://git.defis.info/SeaCMS/pico-content-editor/issues",
|
||||||
|
"source": "https://git.defis.info/SeaCMS/pico-content-editor"
|
||||||
|
},
|
||||||
|
"time": "2023-02-22T18:00:33+00:00"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "symfony/polyfill-ctype",
|
"name": "symfony/polyfill-ctype",
|
||||||
"version": "dev-main",
|
"version": "dev-main",
|
||||||
|
@ -23,11 +23,15 @@
|
|||||||
<link href="{{ theme_url }}/css/vendor/knacss/knacss.min.css" rel="stylesheet" type="text/css" />
|
<link href="{{ theme_url }}/css/vendor/knacss/knacss.min.css" rel="stylesheet" type="text/css" />
|
||||||
<link href="{{ theme_url }}/css/style.css" rel="stylesheet" type="text/css" />
|
<link href="{{ theme_url }}/css/style.css" rel="stylesheet" type="text/css" />
|
||||||
|
|
||||||
|
{{ include('@PicoContentEditor/head-styles.twig') }}
|
||||||
|
|
||||||
<!-- JS-->
|
<!-- JS-->
|
||||||
<script src="{{ theme_url }}/js/vendor/modernizr/modernizr.min.js" type="text/javascript"></script>
|
<script src="{{ theme_url }}/js/vendor/modernizr/modernizr.min.js" type="text/javascript"></script>
|
||||||
<script src="{{ theme_url }}/js/utils.js" type="text/javascript"></script>
|
<script src="{{ theme_url }}/js/utils.js" type="text/javascript"></script>
|
||||||
<script src="{{ theme_url }}/js/pico.js" type="text/javascript"></script>
|
<script src="{{ theme_url }}/js/pico.js" type="text/javascript"></script>
|
||||||
|
|
||||||
|
{{ include('@PicoContentEditor/head-scripts.twig') }}
|
||||||
|
|
||||||
{# Contact Form Scripts #}
|
{# Contact Form Scripts #}
|
||||||
{% if index.contact.form.enabled and not index.contact.disabled and not single_page_mode %}
|
{% if index.contact.form.enabled and not index.contact.disabled and not single_page_mode %}
|
||||||
<script src="{{ theme_url }}/js/jquery.min.js"></script>
|
<script src="{{ theme_url }}/js/jquery.min.js"></script>
|
||||||
|
@ -4,6 +4,9 @@
|
|||||||
{% from "includes/actions.twig" import actions %}
|
{% from "includes/actions.twig" import actions %}
|
||||||
{% from "includes/video.twig" import video %}
|
{% from "includes/video.twig" import video %}
|
||||||
<!-- Content Section-->
|
<!-- Content Section-->
|
||||||
|
<div data-editable data-name="test-for-edit">
|
||||||
|
<p>Text modifiable click here</p>
|
||||||
|
</div><!--end editable-->
|
||||||
<section id="hero" class="layout-maxed bg-blue">
|
<section id="hero" class="layout-maxed bg-blue">
|
||||||
<div class="layout-hero bg-section bg-overlay bg-gradient sm:py-36 py-8" <?php bg('bg-hero')?>>
|
<div class="layout-hero bg-section bg-overlay bg-gradient sm:py-36 py-8" <?php bg('bg-hero')?>>
|
||||||
<div class="hero-content grid md:grid-cols-2 flex flex-wrap sm:my-36 my-8 sm:py-36 py-8">
|
<div class="hero-content grid md:grid-cols-2 flex flex-wrap sm:my-36 my-8 sm:py-36 py-8">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user