You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[yes] This is not a general programming / coding question. (Those should be directed to the webtips Q & A forum).
[yes ] This is not a source plugin (summernote) issue. (Those should be directed to the plugin issues repo).
[yes ] I have attempted to find the simplest possible steps to reproduce the issue.
Steps to reproduce the issue
Used Yii2-Advance-Project Template along with Kartik Gii, Kartik Widgets and Kartik Editors
Tried to use Summernote in the following way: <?= $form->field($model, 'long_description')->widget(Summernote::class, [ 'useKrajeePresets'=>true, 'options'=>[ 'rows'=>15 ] ]); ?>
Getting the following error in browser console: Uncaught TypeError: jQuery(...).kvSummernote is not a function at HTMLDocument.<anonymous> (index.php?r=image-post%2Fcreate:1067:39) at e (jquery.min.js:2:30038) at t (jquery.min.js:2:30340)
The js files are all loaded aptly, here is a snippet:
Prerequisites
master
branch of yii2-editors.Steps to reproduce the issue
<?= $form->field($model, 'long_description')->widget(Summernote::class, [ 'useKrajeePresets'=>true, 'options'=>[ 'rows'=>15 ] ]); ?>
Uncaught TypeError: jQuery(...).kvSummernote is not a function at HTMLDocument.<anonymous> (index.php?r=image-post%2Fcreate:1067:39) at e (jquery.min.js:2:30038) at t (jquery.min.js:2:30340)
The js files are all loaded aptly, here is a snippet:
Expected behavior and actual behavior
When I follow those steps, I see simple textarea
I was expecting a summernote area with toolbar
Environment
Browsers
Operating System
Libraries
The text was updated successfully, but these errors were encountered: