-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Roadmap #74
Comments
are you on gitter, also how about adding bootstrap support in the roadmap? |
not yet :) Exactly, what do you mean by 'adding bootstrap'? If you're talking about loading external |
i mean adding bootstrap components in drag-drop builder, for easy build up of websites. |
well, yeah, I add it to plugins |
Hi Congratulations, GrapeJs looks awesome, the most feature rich and cleanly coded open source online html editor by far. There are some features that might make it even better in my option, here are some of my proposals. Can the components tab be changed to show as a panel on the left? Most editors have properties and blocks shown at the same time for easier editing (jetstrap, http://ionic.io/products/creator etc). When I click on a block, for example on map block (after adding it), I must click settings to see the block settings and to configure the map, I think that it would be easier for blocks to show settings by default or even better have only one tab for both settings and style and show settings first. Can the interface colors/theme be easily changed by editting a scss/less file or something similar? to have different themes like one with white background. Is it possible to toggle the elements grids (dashed boxes) by config or button? It looks cleaner without them and if it used mainly for editing editing blocks and not html elements (regular users without css/html knowledge) it might not be very useful. Is it possible to have an option to limit highlighting/editing to only some elements (only blocks without html elements for example) on the page? I plan to use grapejs in an open source cms I'm developing and this option is helpful to limit editing only to blocks for users that are not familiar with html/css. Is there any documentation/examples on how to add new blocks or change settings? Thanks. |
Thanks @givanz for your kind words and suggestions. I definitely agree about 'Settings panel', I think an additional option could be a solution. Anyway I've not yet figured out the best/easiest way to manage the UI (panels, buttons, etc.) for devs, therefore all that part it's just a default set (but can be easily moved around with js). No 'theme' options for the moment, but you can easily change the entire UI with few CSS changes #gjs-rte-toolbar, .gjs-bg-main, .gjs-clm-select option, .gjs-clm-tags .gjs-sm-colorp-c, .gjs-editor, .gjs-mdl-dialog, .gjs-nv-item .gjs-nv-title-c, .gjs-off-prv, .gjs-pn-panel, .gjs-select option, .gjs-sm-sector .gjs-sm-colorp-c, .gjs-sm-select option, .gjs-sm-unit option, .sp-container, .gjs-block {
background-color: white;
}
#gjs-rte-toolbar .gjs-rte-btn, .gjs-btn-prim, .gjs-btnt, .gjs-clm-tags .gjs-sm-composite.gjs-clm-field, .gjs-clm-tags .gjs-sm-field.gjs-sm-composite, .gjs-clm-tags .gjs-sm-stack #gjs-sm-add, .gjs-color-main, .gjs-mdl-dialog, .gjs-off-prv, .gjs-pn-btn, .gjs-pn-panel, .gjs-sm-sector .gjs-sm-composite.gjs-clm-field, .gjs-sm-sector .gjs-sm-field.gjs-sm-composite, .gjs-sm-sector .gjs-sm-stack #gjs-sm-add {
color: #777;
}
.gjs-btnt.gjs-pn-active, .gjs-color-active, .gjs-pn-btn.gjs-pn-active, .gjs-pn-btn:active, .gjs-block:hover {
color: #59a6e6;
}
.gjs-btnt.gjs-pn-active, .gjs-pn-btn.gjs-pn-active {
background-color: rgba(0, 0, 0, 0.03);
} You can already disable dashed boxes in demo For creating new Blocks I suggest you check this wiki there you should also find how to change components properties (eg. make element not editable) |
For Absolute/Designer mode, There is feature like Smart Guide Line / Snapping to Object, which Simex also not having this feature. One picture worth thousand word, that align feature most of us used in Microsoft Office to align object: |
thanks @meteorsnows, smart guides and snapping are definitely a must in Designer mode so I've already considered it |
Hi, |
@ShinJii89 Scripts are just ignored by configurations. editor.getConfig().allowScripts = 1 |
Hi @artf and everyone, I would be happy to contribute with a plugin that offers the ability to use Google's File and Image picker instead of the filestack one ( mainly because of the cost of FileStack .. ) ... I am currently coding it anyways, and if there's interest then I would be happy to place it in git.. txs again for the great library. |
@integrateddigital I use unifile which provide routes to manage files with dropbox, ftp, github... and it is easy to add new services so you could use it (even as a canvas for 1 service it is interesting) |
thanks @lexoyo , does unifile allow image search by keyword ? that's the actual specific functionality that I want to replicate ... good timing as I've just realized the google image picker might not be ideal as it does bring ads; If I can type a keyword, get back images then it's good, suggestions welcome... |
Nice! I'd like to have this functionality. The code is really clean and a state of the art in nodejs, so it should be feasible without headaches, I'll poke the lead developer @JbIPS to know for sure |
It's very handy, the gjs-plugin-filestack does have that, but it is too costly per month,.... i'm playing with a couple of other pickers right now, ... engagement goes very high when you allow the user to fetch images without having to switch tabs or windows... let me know and I will let you know .. :-) |
Hello! I've been invoked here to talk about unifile. To be clear, unifile is a nodejs library that replicate the filesystem module but for cloud storage (GitHub, Dropbox, WebDAV, FTP SFTP,...). It let you manipulate files so you could use it to search images but you'll have to implement that yourself (I'd be glad to help). |
Hello, I really appreciate the work you guys are doing and the fact that such a library is open source. I would be happy to contribute to as I have worked on a product very similar to this one created using backboneJS & marionetteJS along with Rails on the backend. We had a async save, a peer-to-peer sync and a template manager in place along with all the stuff currently present here. Is there a gitter / slack channel wherein we can discuss ? |
Thanks @vinzee I'd really appreciate any help, something such as template manager would be awesome to have. If you want to discuss anything related to grapesjs I think "Github's Issues" is all we need, it'd be a mess tracking stuff with more discussion channels. |
Hey Artur! How to contribute with translating for other languages. I would like to translate it to Brazilian Portuguese? |
Hi @rgcarrasqueira you can check #26 about i18n and why I don't plan to add it |
Hey Art! I've tweak some stuffs on my editor and I create a way to open a template gallery, choose a layout and set it at the canvas, I'm sharing the code above:
Hope that it helps! |
Hi Art! For the custom code editor I've did at my project:
It is running like a charm |
thanks @rgcarrasqueira 👍 I'll try to make a good use of your code |
Any updates on the jQuery deprecation? Wanting to use GrapesJS in a ReactJS application, and it doesn't make sense to load jQuery |
Regarding font-awesome, bootstrap-select makes it an option to specify on initialization which I like. It would need a mapping for icons that have different names. (Boostrap-select only has one icon, so thats easy for them). That way its always possible to use icons you already have in your project instead of pulling in another dependency. The component toolbar is easy to customize (for example I just add data-gjs-removable="false" to an element in my template and thats enough) but there is no option to hide the "select-parent" command. An attribute like "traverse" would be helpful for me (i'm just dumbing the editor down for my users) |
Custom CSS parsers available from https://github.com/artf/grapesjs/releases/tag/v0.14.33 |
@artf Do you have an estimate on when the following feature is going to be released => Custom color picker. eg. as with RTE using editor.setCustomRte() it might be editor.setCustomColorPicker()? |
@FrciSmrci unfortunately, I didn't plan it yet and IMHO I'm not even sure anymore if it's the correct way of customization. Probably it would be better to create some kind of customizable UI system, where the developer can change/update the color input itself (as all other inputs) and not only the color picker |
We actually have a custom color picker wired up with GrapesJS. What we did:
Here's the result: Ideally the forms used in Grapes would be more pluggable without that work, though. @artf if you're looking for inspiration, then JSON Schema auto-generated forms may serve as a good start. I'm a fan of React JSON Schema Forms because it makes it very easy to add custom widgets or fields components, override styling, titles, helptext, etc. |
Hi @artf , just to understand the design mode better, will this allow me to drag an element (link, div, span, anything..) around the page and position it in a specific place. More like a more intuitive, drag & drop replacement for the current one and allow the use to organize items in the way that is not restricted by the current block concept? |
@luisalvarado correct. As a tiny update, I've started working on a new feature which, once finished, will allow me to add the designer mode easily. |
@artf This is beautiful, thank you. |
@artf I'm excited about the design mode feature! |
@jakemonton actually, I started working on it a few days ago, I hope to post soon a new follow-up issue describing it more in details |
A new issue about the Designer mode: #1936 |
Has there been any work done on the Template Management plugin feature to date, or that might be done soon? |
Closing this in favor of the new Roadmap process |
This issue is a rough outline of some improvements/features we'd like to add to the editor.
To keep things cleaner it's better to open a new issue for any discussion about a related feature (then linked here) and use this one just for general questions/requests.
Don't hesitate to propose other stuff for the list and, of course, any kind of help is extremely welcome.
Each section is ordered by priority (discussable).
Features
execCommand
API is not perfect and not even works consistently on all browsers in the same way, but I think it's ok as a default/built-in WYSIWYG editorhttps://github.com/artf/grapesjs/wiki/API-Rich-Text-Editor
propagate
property on components Prevent editing some components #422Not yet documented but grapesjs-style-gradient might be a good point from where to start
Absolute/Designer mode
With this mode enabled the user should be able to move components "freely" inside the canvas (relying onabsolute
positioning) Absolute/Designer mode #1936editor.setCustomRte()
it might beeditor.setCustomColorPicker()
Plugins
Codebase
jquery
. Thedata()
method is probably the only one which is strictly required by the editorgrunt
in favor ofnpm
scriptsrequirejs
in favor ofwebpack
as a bundlerfont-awesome
https://github.com/artf/grapesjs/releases/tag/v0.15.9The text was updated successfully, but these errors were encountered: