Ionaru / Ionaru/easy-markdown-editor

How to change my current code to support smart phone

Open
#86 0 comments 0 reactions 0 assignees View on GitHub
Question
Dominant language
JavaScript
Stars
3.1k
Forks
363
PR merge metrics
No merged PRs in 30d

Description

I am using simplemde. My current code is
```

var simplemde;
setTimeout(function(){
if( /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent) ) {
// some code..
}else{
if (simplemde){
location.reload()
}else{
simplemde = new SimpleMDE();
}
}
}, 300);

```
Please update this code, so that I can include toolbar for mobile devise also. I am newbie to code.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.