Kademi / keditor

KEditor is a jQuery plugin which provides a content editor with drag n drop, configurable contents
http://kademi.github.io/keditor/
MIT License
319 stars 153 forks source link

Uncaught TypeError: cols.resizable is not a function at KEditor.eval (initColumnResizer.js?ff9e:28) at KEditor.eval (initContainer.js?a97d:45)[BUG] #222

Closed ABtechsystem closed 4 years ago

ABtechsystem commented 4 years ago

Hello,

I got this issue when I am loading dynamic snippet using ajax This is my HTML in the database templates :

<div data-type="container" data-preview="snippets/preview/row_12.png" data-keditor-title="1 column" data-keditor-categories="1 column;Photo">
    <div class="row">        <div class="col-sm-12" data-type="container-content">        </div>    </div></div>

Full Error :
Uncaught TypeError: cols.resizable is not a function at KEditor.eval (initColumnResizer.js?ff9e:28) at KEditor.eval (initContainer.js?a97d:45) at KEditor.eval (convertToContainer.js?5444:12) at HTMLDivElement.eval (initContentArea.js?d88d:75) at Function.each (editor.js?ver=1.0.0:14) at yt.fn.init.each (editor.js?ver=1.0.0:14) at KEditor.eval (initContentArea.js?d88d:74) at KEditor.eval (setContent.js?353a:23) at KEditor.setContent (index.js?f138:178) at m.fn.init.jqueryWEBPACK_IMPORTED_MODULE1default.a.fn.keditor (index.js?f138:218)

Normal HTML work perfeclty with setcontent and getcontent method.

ABtechsystem commented 4 years ago

editor.js was the conflict with keditor is there any way to not conflict with medium editor

ABtechsystem commented 4 years ago

Function.each conflict

ducdhm commented 4 years ago

@ABtechsystem can you provide me the screenshot of error log?

ABtechsystem commented 4 years ago

@ABtechsystem can you provide me the screenshot of error log?

log.log