src/Fields/Editor.php
Method js
has 58 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public static function js($id, $options)
{
return <<<JS
_formsjs_editorField = function (element) {
if (! element.getAttribute('data-formsjs-rendered')) {
Method styles
has 51 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public static function styles($id, $options)
{
$themes = [];
$themes['light'] = <<<CSS