Page 1 of 1
bgcolor, color, background - Select Color and File dialog
Posted: 01 Nov 2010 14:55
by AlexBreems
Hi,
In HTML need auto pop up when type:
bgcolor="" -> select color
color="" -> select color
background="" -> file dialog
Regards,
Alex
Posted: 01 Nov 2010 16:20
by Rickard Johansson
Those properties are not valid in HTML5, so I didn't add them. I'll fix that.
BTW. The property
background="" -> file dialog
should be
background="" -> url dialog
right?
Posted: 01 Nov 2010 16:22
by Rickard Johansson
Actually, we can add both url and file dialogs to the background property, so never mind.
Posted: 01 Nov 2010 16:46
by AlexBreems
Yes, of course, URL dialog
Posted: 01 Nov 2010 17:04
by pjj
Actually, background is a shorthand (like eg. border or font) and can contain definitions for background-color, background-image, background-repeat, background-attachment and background-position, so this dialog may turn out quite sophisticated in the process...
Posted: 01 Nov 2010 17:13
by AlexBreems
pjj wrote:Actually, background is a shorthand (like eg. border or font) and can contain definitions for background-color, background-image, background-repeat, background-attachment and background-position, so this dialog may turn out quite sophisticated in the process...
you're talking about CSS but I'm talking about HTML tags attributes
http://www.w3schools.com/tags/tag_body.asp (see Optional Attributes)
Example
http://www.w3schools.com/tags/att_body_bgcolor.asp
http://www.w3schools.com/tags/att_body_background.asp
Posted: 01 Nov 2010 17:54
by Rickard Johansson
Probably my fault. I wrote properties instead of attributes.
We were indeed talking about tag attributes, but the idea for a CSS property dialog is not a bad one. Some properties can have several values and in some cases a dialog may help. I'll consider it.
Posted: 01 Nov 2010 18:43
by pjj
Now, the question is if RJ TE should support deprecated elements/attributes/properties/whatever? Eg. HTML > Advanced > Frames? I believe it shouldn't. To the contrary, it should encourage use of recommended standards.
Posted: 01 Nov 2010 21:13
by AlexBreems
I agree that some elements are obsolete
let's really do support only recommended
Re: bgcolor, color, background - Select Color and File dialo
Posted: 18 Dec 2014 13:57
by aaagul45
We can add both url and file dialogs to the background property, so never mind.??