Console error in medium insert js plugin - javascript

I am trying to integrate medium insert plugin(https://github.com/orthes/medium-editor-insert-plugin). I have set it up according to the instructions. Everything works fine except it is giving me the error in the console when i hover over the + button as:
I have not made anything to the example code.
Any help is greatly appreciated.Thanks in advance.

I finally found the solution to this problem.
Since i downloaded the plugin directly from the git repo and installed its dependency using bower, it pulled all the latest plugins and it turns out the latest plugin for medium-editor(ie. v5.21) is not compatible with the current latest version of medium-insert plugin(ie v2.x). So i downloaded v5.9 of it(medium-editor) and voila it worked.

Related

Full-calendar scheduler is not displaying with resources: It seems scheduler file is not loading

I am using vue-full-calendar library and full calendar scheduler for displaying resources in my app. Everything worked well.The calendar shows resources and the app is running since almost two years. But the last days it is impossible to display the calendar with resources .I have everything set up and i use the same library version as the docs suggest in this code sandbox example.
After debug i notice that the scheduler plugin is not loading.I don't understand why it stop working and the library stop loading.Does anyone have an idea what's going wrong or encountered the same problem.
Thanks for your help.
EDIT:
After some checks i reinstall fullcalendar-scheduler with command : npm install --no-optional --save fullcalendar-scheduler#1.9.4 and now i've got this error in my browser console.

cordova plugin's metadata value not updating

I am using ngcordova and ionic to develop one demo app.
But somehow i see /www/cordova_plugins.js this file metadata values never updated, and that is why i am having issues for social login.
module.exports.metadata =
// TOP OF METADATA
{}
above code stay same no matter if i add or remove plugin vice versa.
Cordova version
Dipeshs-Mac-mini:AppIonic Dipesh$ cordova -version
5.4.0
Ionic version
Dipeshs-Mac-mini:AppIonic Dipesh$ ionic -version
1.7.10
Plugin i am trying
http://ngcordova.com/docs/plugins/oauth/
But plugin seems working but somehow i got inappbrowser plugin not found but i have installed it.
And by debuging in deep i came to know that var cordovaMetadata = cordova.require("cordova/plugin_list").metadata; this code give empty array and that is reason plugin isn't working.
So if you guys have any idea share it with me so i can overcome this issues.
After some reading i found answer on my own.
Actually cordova new version might have some issues so downgraded cordova version to 5.3.3 and all seems working fine.

Cordova/Phonegap OpenEars speech recognition

I am trying including the OpenEars plugin into phonegap/cordova using this plugin https://github.com/karljacuncha/OpenEarsPlugin
I followed the Readme but i ended up with an error of missing files, all these files are not found :(
Any help/suggestion on how to integrate the library?
thank you any advice appreciated!
As already mentioned on a comment, new, non-backwards compatible version (2.0) of OpenEars was released on 5th of December in 2014. This of course prevents it from working with old code such as the plugin in this case.
Basically there would be two options to get it working:
Use older version of OpenEars (last one was 1.7.1) but that doesn't seem to be possible as I wasn't able to download it from anywhere after extensive search.
Fix the code to work on newest OpenEars. It shouldn't be that hard and the code of plugin is only ~400 lines of code. Most of the changes are quite straightforward as described in the upgrade guide. Feel free to fork the project in GitHub or try to contact the original author of that plugin to make the fixes necessary.

Script error with loading jQuery in IWebBrowser2

The following error shows up when I load a page that uses jQuery in my iWebView.
I checked if the JS files have any errors, but they all seem fine.
Any clues anyone?
Vasa, the latest 1.x version is 1.11.1:
https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js
You may want to try pointing to that to see if the upgrade has fixed your script error. Also, using the non-minified version for development may give you more detail to line and character.

Couldn't find 'aapt' tool! You may need to update your Android SDK, including platform tools

I am developing mobile application using trigger.io tool. While running the application in the triggerio plat form it giving error as couldn't find "aapt.exe" tool. It was suggesting to update android sdk. I updated android sdk and plat form tools yet the same error displaying. Please suggest need ful. Any help would be appreciate. Thanks in Advance.
got the same issue, solved it by changing "platform_version": "v1.4.47" in config.json
So again from what I can tell this is a problem with the python script that calls aapt.
When you look at the script it points only to aapt, this means its looking for a directory and not the aapt.exe file itself so the first thing that happens is
1) forge says it cant find the aapt directory, this is why you are getting the error message "cant find aapt tool"
2) by adding the directory you would get the access denied because then the script is trying to run all these commands on just the directory (this was the problem I ran into), by making the change below you do not need to create a directory, just leave everything how it is but add the exe and it should work
After doing some testing I found that by adding .exe to the pythong script in android_tasks.py the build was able to run successfully
if you look on line 35 of android_tasks.py and change 'appt' to 'appt.exe' it should build for you
this is what it looks like for me
path.join(sdk, 'build-tools', '*','aapt.exe')
Hope this helps
We made a change to fix this issue in our v1.4.49 platform version:
https://trigger.io/docs/current/api/release_notes.html

Categories