-2
I am developing a site, and also a content manager for him, in the manager I control the images of the site and the texts, I wonder if there is any way for me to control the font color and the font type of the texts, ie in the manager, have a color Picker (or something similar) for the user to choose the font color of a given text, and also some way to choose which font type (Times New Roman, Arial, Comic Sans, and others). Any suggestions ?
Look, there are several ways to do this. You can generate a.css file on the server... You can save css snippets and render on the screen... etc. You should choose a shape and do it. I think you will find a lot of content on the internet
– DiegoSantos
Poisé , I know there are several ways to do this, so I asked Suggestions ...
– Victor
I think your question seems too broad to get a concrete answer, so the negative votes. Anyway, you can get the hexadecimal of a color through a Color Picker and save it in a database, for example, something like
#FF0000
. Then you load this information and define it via javascript.– bio
Now, looking at it from another angle, maybe you’re asking about Ckeditor or Tinymce, which are text editors that you can embed in your manager.
– bio
Exact, I’m thinking of having a Picker color to select the color and then save the hexadecimal code or rgb and change in the main page css
– Victor