2017-11-07 14 views
1

ではありません、私にはわからない:

jQuery is not a function erreor

how to fix : Uncaught TypeError: $(...).summernote is not a function #2087

jquery: Uncaught TypeError: $(…).error is not a function

しかし、私は靴の下にガムのように詰まっています。

私のChromeデベロッパーツールの実際のエラーは次のとおりです。

Uncaught TypeError: $(...).code is not a function

私はこの@記号エラーを持っている古いバージョンからSummernoteを更新したいです。

Cant write @ using AltGr + @ combination or Ctrl + Alt [email protected] #1406

しかし、その後、0.8.0からの新しいバージョンでは、$(...)。コード()関数が利用できなくなったことを思いません。私はそれを働かせるためにもたらすべき変化を知っていますか?

+0

ドキュメンテーションからは、.code()の代わりにsummernote()関数を使用する必要があるようです:https://summernote.org/getting-started/#basic-api –

答えて

0

documentationから:直接 jQueryのコード()関数は廃止されました、あなたは今summernote()関数を使用する必要が

destroy and code

After v0.7.0, direct jquery methods, destroy and code were removed for avoiding conflict with other jquery libraries. You can call this methods with summernote api.

$('#summernote').summernote(); 
関連する問題