Comments (6)
@wwsalmon hey! I tried a few approaches the one that worked best for this particular project's case was to create a makeshift pop-up using jQuery and a lot of keydown handlers. I haven't completed it yet though due to lack of free time, but I intend to finish it somewhere around April.
from bonsai.
Apparently, SimpleMDE authors did not keep compatibility with existing CodeMirror plugins (which rely on a global variable named CodeMirror
):
sparksuite/simplemde-markdown-editor#418
The solution will require either recreating the show-hint
plugin in a custom manner, or forking SimpleMDE to bake it in.
from bonsai.
@impworks stumbled upon this while trying to implement something similar with SimpleMDE. Did you end up implementing this functionality? Did you make a custom fork of SimpleMDE for it?
from bonsai.
@impworks gotcha! what were some other approaches that you tried?
from bonsai.
@wwsalmon well, basically I tried to:
- Make
show-hint
plugin work with current build of SimpleMDE (appears impossible) - Rebuild SimpleMDE with extra plugins
- Bind SimpleMDE and some other pop-up library together
The catch here is that Bonsai is not a typical web app. It is supposed to store family history data for hundreds (!) of years and be rewritten from scratch every 10-20 years using modern approaches and technologies. So the rule of thumb is to prefer components that "work" out of the box, and solutions that require as little specific knowledge as possible.
from bonsai.
from bonsai.
Related Issues (20)
- Миграция с PostgreSQL на SQLite HOT 2
- Ссылающиеся страницы HOT 5
- Опция отключения чёрной ленты в дереве HOT 2
- Устаревшие пакеты NPM HOT 3
- SaaS HOT 1
- Обновление до .NET 6
- Замена System.Drawing.Common HOT 1
- can't login HOT 2
- День появления питомца отмечен как Свадьба, Годовщина HOT 1
- Сохранять имя фотографии при импорте HOT 1
- подержка авторизации через AD
- Вопрос: где посмотреть всё дерево? HOT 1
- .NET 7
- Форматирование дат в некорректной локали
- Строка поиска в предпросмотре страницы
- Не работает сортировка медиа по названию
- failed to start
- Кнопка "выбор страницы" в редакторе медиа не работает
- Частичные деревья HOT 2
- Разделить docker-compose на два
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bonsai.