Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update sceditor version #35

Open
chrisdo1 opened this issue Apr 6, 2022 · 0 comments
Open

Update sceditor version #35

chrisdo1 opened this issue Apr 6, 2022 · 0 comments

Comments

@chrisdo1
Copy link
Contributor

chrisdo1 commented Apr 6, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant