Ionaru / Ionaru/easy-markdown-editor
Toolbar button for mentions and references
- Dominant language
- JavaScript
- Stars
- 3.1k
- Forks
- 363
- PR merge metrics
- No merged PRs in 30d
Description
EasyMDE could provide toolbar buttons for mentions and references.
These buttons would only provide icons, tooltips and insert the character `@` and `#` into the editor. Nothing more.
It would be up to the user to implement hooks such as:
```js
easyMDE.codemirror.on('change', function(cm, change) {
if (change.text === '@') {
alert('Your mention picker here');
}
});
```
```js
easyMDE.codemirror.on('change', function(cm, change) {
if (change.text === '#') {
alert('Your references picker here');
}
});
```
Contributor guide
Research direction
No file or test is named. Start by locating EasyMDE's toolbar configuration and existing toolbar button definitions, then inspect how the editor inserts text and exposes icons and tooltips. Done means separate mention and reference buttons insert only `@` and `#`, with the requested icon and tooltip behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100