LuRenJiasWorld / WP-Editor.md

或许这是一个WordPress中最好,最完美的Markdown编辑器
https://wordpress.org/plugins/wp-editormd/
GNU General Public License v3.0
751 stars 87 forks source link

b.sortable is not a function #47

Closed duoan closed 7 years ago

duoan commented 7 years ago

edit-post.min.js?ver=2.0.0:1 Uncaught TypeError: b.sortable is not a function

JQMIGRATE: Migrate is installed, version 1.4.1 edit-post.min.js?ver=2.0.0:1 Uncaught TypeError: b.sortable is not a function at RP4WP_Related_Manager.make_sortable (edit-post.min.js?ver=2.0.0:1) at RP4WP_Related_Manager.init (edit-post.min.js?ver=2.0.0:1) at new RP4WP_Related_Manager (edit-post.min.js?ver=2.0.0:1) at HTMLDivElement. (edit-post.min.js?ver=2.0.0:1) at Function.each (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,plupload&ver=4.7.5:2) at HTMLDocument. (edit-post.min.js?ver=2.0.0:1) at i (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,plupload&ver=4.7.5:2) at Object.fireWith [as resolveWith] (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,plupload&ver=4.7.5:2) at Function.ready (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,plupload&ver=4.7.5:2) at HTMLDocument.K (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,plupload&ver=4.7.5:2) RP4WP_Related_Manager.make_sortable @ edit-post.min.js?ver=2.0.0:1 RP4WP_Related_Manager.init @ edit-post.min.js?ver=2.0.0:1 RP4WP_Related_Manager @ edit-post.min.js?ver=2.0.0:1 (anonymous) @ edit-post.min.js?ver=2.0.0:1 each @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,plupload&ver=4.7.5:2 (anonymous) @ edit-post.min.js?ver=2.0.0:1 i @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,plupload&ver=4.7.5:2 fireWith @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,plupload&ver=4.7.5:2 ready @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,plupload&ver=4.7.5:2 K @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,plupload&ver=4.7.5:2 load-scripts.php?c=0&load[]=hoverIntent,common,admin-bar,heartbeat,autosave,suggest,wp-ajax-response,jquery-color,wp-lists,postbox,jquery-ui-position,jquery&load[]=-ui-menu,wp-a11y,jquery-ui-autocomplete,tags-suggest,tags-box,underscore,word-count,post,editor-expand,thickbox,shortcode,backbo&load[]=ne,wp-util,wp-backbone,media-models,wp-plupload,mediaelement,wp-mediaelement,media-views,media-editor,media-audiovideo,mce-view,&load[]=imgareaselect,image-edit,svg-painter,wp-auth-check,wp-pointer,quicktags,wplink,wp-embed&ver=4.7.5:684 Uncaught TypeError: Cannot read property 'hasClass' of undefined at HTMLDocument. (load-scripts.php?c=0&load[]=hoverIntent,common,admin-bar,heartbeat,autosave,suggest,wp-ajax-response,jquery-color,wp-lists,postbox,jquery-ui-position,jquery&load[]=-ui-menu,wp-a11y,jquery-ui-autocomplete,tags-suggest,tags-box,underscore,word-count,post,editor-expand,thickbox,shortcode,backbo&load[]=ne,wp-util,wp-backbone,media-models,wp-plupload,mediaelement,wp-mediaelement,media-views,media-editor,media-audiovideo,mce-view,&load[]=imgareaselect,image-edit,svg-painter,wp-auth-check,wp-pointer,quicktags,wplink,wp-embed&ver=4.7.5:684) at HTMLDocument.dispatch (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,plupload&ver=4.7.5:3) at HTMLDocument.r.handle (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,plupload&ver=4.7.5:3) at Object.trigger (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,plupload&ver=4.7.5:3) at Object.a.event.trigger (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,plupload&ver=4.7.5:9) at HTMLDocument. (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,plupload&ver=4.7.5:3) at Function.each (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,plupload&ver=4.7.5:2) at a.fn.init.each (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,plupload&ver=4.7.5:2) at a.fn.init.trigger (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,plupload&ver=4.7.5:3) at Object. (load-scripts.php?c=0&load[]=hoverIntent,common,admin-bar,heartbeat,autosave,suggest,wp-ajax-response,jquery-color,wp-lists,postbox,jquery-ui-position,jquery&load[]=-ui-menu,wp-a11y,jquery-ui-autocomplete,tags-suggest,tags-box,underscore,word-count,post,editor-expand,thickbox,shortcode,backbo&load[]=ne,wp-util,wp-backbone,media-models,wp-plupload,mediaelement,wp-mediaelement,media-views,media-editor,media-audiovideo,mce-view,&load[]=imgareaselect,image-edit,svg-painter,wp-auth-check,wp-pointer,quicktags,wplink,wp-embed&ver=4.7.5:4)

JaxsonWang commented 7 years ago

感觉是受到第三方函数干扰的,先确定在你的环境,主题切换默认主题,插件除了编辑器其他都停用再看看...如果正常了,可能就是受到主题或者其他插件干扰了。