Comments (9)
How will data be stored and processed? If we're going to store already parsed data and an original content to allow edits (so two database fields: one for preprocessed content, one for non-processed content), https://quilljs.com would be the nicest of them all IMHO. It needs a Quill-to-BBCode/Markdown parser, but its API is well documented.
from mybb2.
That's a good question. Currently we store data pre-parsed, but there are a few downsides:
- BBCode/MyCode when added or modified won't be supported until a post is edited
@
style mentions won't track username changes, leading to confusion
@dvz Suggested that for the second issue we can pre-parse content that doesn't contain mentions, and otherwise parse on display. This is a possibility.
I think that really we need to benchmark the parser to make a decision.
from mybb2.
I suggest summernote, big machine and very configurable.
from mybb2.
I'm not sure if this is somewhere we can suggest editors but my vote goes for Monaco:
https://microsoft.github.io/monaco-editor/
from mybb2.
Yes, this is as good a place as any to suggest editors. A good suggestion should explain the features provided, the license, etc.
Monaco seems to be mostly targeted towards the writing of code, rather than prose (this is for the editor used to markup posts).
from mybb2.
Have a look on StackEdit
https://github.com/benweet/stackedit
https://stackedit.io/
a nice and clean editore, i love the live preview function and its easy to customise to
from mybb2.
Regarding this post and related ones, if we are really going the mixed parser way I guess Quill is the only choice we have. I've been looking for already-built editors with BBCode and Markdown support but either they do not support one of the above, or they support them separately.
The main advantage of Quill is that it uses its own logic and formatting, which can be then converted to whatever you like. That's why I would choose it, even if we'll need to write our own Quill-to-BBCode/Markdown JavaScript parser.
from mybb2.
Certainly not fulfilling all of our requirements, but have just come across this feature-rich Markdown editor and wanted to share with you guys:
https://github.com/nhnent/tui.editor
from mybb2.
Also, I guess this MarkItUp! a good start?
Its an old one, light-weight, very flexible to suit our need ... This is not a full fledged editor but an engine to make editor as per requirement on top of it, as they say ...
Supports HTML, BBCode, Textile, Markdown, Dotclear, Wiki even own custom markups << This may be helpful for custom MyCodes ?
https://github.com/markitup/1.x
from mybb2.
Related Issues (20)
- Convert all existing JavaScript to TypeScript.
- Evaluate the possibility of removing jQuery as a dependency. HOT 20
- Settings service provider preventing Auto installer from being possible HOT 1
- Merge system? HOT 1
- Any Plan for API? HOT 3
- Test namespaces
- Authentication structure
- ACP forums management
- ETA release? HOT 1
- Type Hinting HOT 4
- Install Mybb2 development copy without Homestead? HOT 10
- FatalErrorException in ProfileFieldPresenter.php line 19 HOT 2
- PHP return type declarations should follow the PHP FIG Extended Coding Style Guide.
- Template hook system HOT 12
- Theme system HOT 1
- Module/Plugin system
- JS Hook system
- JS translation/language system
- Good Job! HOT 5
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 mybb2.