PatternBuilder / pattern-kit

A REST server for your Component API based Design System
20 stars 10 forks source link

Update sceditor version #35

Open chrisdo1 opened 2 years ago

chrisdo1 commented 2 years ago

When WYSIWYG is enabled for text fields, the sceditor loads. Unforunately, the height of the embedded iframe is set using inline styles and hides content from the editor.

Screen Shot 2022-04-06 at 1 27 15 PM

Pattern-kit is loading a fairly old version of the sceditor (v1.4.3) Sceditor is currently at 3.1.1 https://www.sceditor.com/

These three files need to be updated in resources/templates/_pattern-kit-app.twig

<script src="https://cdn.jsdelivr.net/npm/sceditor@3.1.1/minified/jquery.sceditor.xhtml.min.js"></script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/sceditor@3.1.1/minified/themes/default.min.css">

Updating those three files fixes the bug Screen Shot 2022-04-06 at 1 30 53 PM