Skip to content

Update sceditor version #35

Description

@chrisdo1

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.bbcode.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/sceditor@3.1.1/minified/jquery.sceditor.xhtml.min.js"></script>

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions