paste and pastetext dialogs can not be skinned easily.
The paste and pastetext dialogs are built using HTML UI elements. The HTML contains hard-coded style attribute values, as the following code from the pastetext dialog shows:
{
type : 'html',
id : 'content',
style : 'width:340px;height:170px',
html :
'<textarea style="' +
'width:346px;' +
'height:170px;' +
'resize: none;' +
'direction:' + editor.config.contentsLangDirection + ';' +
'border:1px solid black;' +
'background-color:white">' +
'</textarea>',
As with the image and flash dialogs, can the tags in the HTML content be given an id attribute, and the style moved out to the skin's dialog.css. Only dynamic styles should remain.
Change History (10)
Keywords: |
Confirmed added
|
Owner: |
set to Tobiasz Cudnik
|
Status: |
new →
assigned
|
Keywords: |
Review- added; Review? removed
|
Keywords: |
Review? added; Review- removed
|
Keywords: |
Review+ added; Review? removed
|
Resolution: |
→ fixed
|
Status: |
assigned →
closed
|
Maybe we should use a dialog.ui.textarea element instead of using a Html element with the textarea as the content?
And so, the basic style of border and background-color should be available for all the dialog.ui.textarea elements