-
-
Notifications
You must be signed in to change notification settings - Fork 372
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
Ability to customize Editor #245
Comments
That's exactly how I changed to |
True. But a Jekyll Site user doesn't have access to the Admin Panel's CSS.. no? |
Maybe we can read the highlighting theme from config file and change it accordingly. For the font size, React Ace has the right prop for that, fontSize, again that can be read from the config file or we may put it under the gear icon you suggested. |
--
|
In the first step, we better rely on default themes rather than creating custom ones by changing color and background. Other than that, LGTM 👍 Thanks for the details. @ashmaroli |
If you compare the two images I posted in the main comment, you'll see that there's a slight difference apart from the theme-change..:
If you feel that can be a permanent modification, without issues in future, I'll open a PR to have it added to the main CSS file. |
Please open the PR 👍 I tried to fix it with padding but couldn't achieve that. |
@mertkahyaoglu I wont be submitting the pull.. Tests conducted locally show that I will cause issues for bigger datafiles (that require scrolling to view the last line / last word) But its outside my skill-level. |
@mertkahyaoglu can I place a minor request here? The |
Yeah, I agree but I couldn't decide what to choose. Any suggestions? (themes) |
light background: |
This issue has been automatically marked as stale because it has not been commented on for at least two months. The resources of the Jekyll team are limited, and so we are asking for your help. If this is a bug and you can still reproduce this error on the If this is a feature request, please consider whether it can be accomplished in another way. If it cannot, please elaborate on why it is core to this project and why you feel more than 80% of users would find this beneficial. This issue will automatically be closed in two months if no further activity occurs. Thank you for all your contributions. |
Still more than a month away from going |
This issue has been automatically marked as stale because it has not been commented on for at least two months. The resources of the Jekyll team are limited, and so we are asking for your help. If this is a bug and you can still reproduce this error on the If this is a feature request, please consider whether it can be accomplished in another way. If it cannot, please elaborate on why it is core to this project and why you feel more than 80% of users would find this beneficial. This issue will automatically be closed in two months if no further activity occurs. Thank you for all your contributions. |
just wanted to throw some input of my own into this. the jekyll site I help run has right now two schema files we use. We use these to run against Kwalify validator that our data for the directory we run is in the right structure for us to use properly. If Jekyll-Admin had a way of consuming this schema yaml files, then it would be able to assist in adding more data to a file when it sees which one it identifies. Its easy to use Kwalify to generate a ruby class from the schema, but also to have it help generate the schema based on (I think, I usually do it by hand but believe I saw some documentation on it). For our use cases, we run the validator on the schema first, then on the data files here: but the point is that it wouldnt be the worst thing (from at least my point of view) if more sites that use jekyll with _data or other collections would be able to generate these types of files if they wished, to have Jekyll-Admin and potentially other Jekyll administrative tools to run against and make use of in the future. The use of schemas to validate data makes sense for data consistency and perfect sense for helping Jekyll-Admin understand whats available as key/value pairs for data. Side note, while I'm not very great at ruby, I have been learning and put together a few rake tasks that make use of the schema files I mentioned above to allow the rake task ask for data and assist a user to adding data. I get that this is a bit nuanced to how I use jekyll and Rake/ruby but it is an example of the power these schema files can give us. The fact that if we add a new key/value pair to the schema and my rake tasks automatically will be able to make use of it to ask for user input and for the schema to validate all the data before we publish, is really powerful for us maintainers of the site. |
Also wanted to add that the schema's I mentioned in my post above allow for enums to be defined. It makes it great from defining expected data sets/limiting what the values are, which can be useful in a UI to give a dropdown set of options to users. I looked at ruby-awesome to see if I saw any other validation solutions out there and while I saw a few, none were as well documented and thought out as tKwalifies standards and did not have ruby class generation from the schemas that would allow easy compilation of the schema to use as is or as a ruby class for the backend of Jekyll-admin |
Hi,
I would like to know if you can add the ability to customize the AceEditor component in
src/components/Editor.js
e.g. (on JekyllAdmin-0.1.1, Windows-7)
This is the default view:
And I would like it to be customized to:
Perhaps a gear icon somewhere that would allow to select another theme, change font-sizes, etc..
Thanks
The text was updated successfully, but these errors were encountered: