Comments (2)
Well it isn't aimed for only developers, it's generally for all content creators.
What you showcase here is very interesting indeed, if we can allow custom editor components to be added and configured just like adding an image or custom HTML that would be great.
Might look into this soon :)
from wink.
If the target is all content creators then I agree that maybe this could be added to the editor components. Perhaps allow the user to enter a Key and a Value, where in my example above the Key would be "OGBadge" and the Value would be "{ "src": "https://completecodesolutions.com/" }". Allow for flexibility so that the Value might accept a string or a number or JSON, etc. Or, probably better, somehow "register" a custom editor component using a Controller/Model/Trait/something, and then that results in a custom button next to Image & HTML in the editor. Clicking on it reveals some sort of input, potentially also defined by the Controller/Model/Trait. At that point, we're pretty much talking about creating "plugins," which I don't know if you have put much thought into yet.
By the way, though I don't like Wordpress's naming conventions, the equivalent to the wrapped-JSON-in-post-body in Wordpress is called a "shortcode". There's nothing "short" about it, but it is a code. I think I'll refer to my JSON POC above as a "custom code" moving forward.
from wink.
Related Issues (20)
- <pre> tag cause issues with highlightJS
- How can I use JetStream on Wink? HOT 1
- Using wink in a multi user blogging laravel application HOT 2
- Add ability to delete images attach when the post is deleted HOT 1
- Do you have documentation of the project?
- Logout (GET) and Login (POST) result in error if WINK_PATH is set to "/"
- How to avoid usage of new Function inside compiled app.js HOT 1
- Associate users with roles and permissions HOT 1
- Latest Laravel 9 php 8.1 HOT 4
- Publish assets not working HOT 1
- A notification should be created once the new post is created. HOT 2
- Using basic laravel authentification HOT 1
- Is this package abandoned? HOT 11
- Does Laravel 9 and php 8.1 support? HOT 1
- Will this support Laravel 10? If yes, by when? HOT 3
- Unable to Install on Laravel 10 with PHP 8.1 HOT 5
- I forgot my password and can't reset HOT 1
- Publish js/php files to modify and regenerate SPA {development and production workflow} HOT 1
- Blank page on production
- Tags and Slug Error
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 wink.