1
0
mirror of https://github.com/typemill/typemill.git synced 2025-07-30 19:00:32 +02:00

blox editor ready

This commit is contained in:
trendschau
2023-05-11 14:28:19 +02:00
parent d41cf971c5
commit 91e3d58a4a
149 changed files with 11438 additions and 4244 deletions

View File

@@ -2,10 +2,9 @@
namespace Typemill\Extensions;
use Typemill\Models\Folder;
use Typemill\Static\Slug;
use Typemill\Events\OnShortcodeFound;
class ParsedownExtension extends \ParsedownExtra
{
function __construct($baseUrl = '', $settings = NULL, $dispatcher = NULL)
@@ -360,7 +359,7 @@ class ParsedownExtension extends \ParsedownExtra
}
$text = trim($Line['text'], '#');
$headline = Folder::createSlug($Line['text'], $this->settings);
$headline = Slug::createSlug($Line['text'], $this->settings);
if ($this->strictMode and isset($text[0]) and $text[0] !== ' ')
{