I would like to dynamically insert textareas into different parts of my site and have the styling of the text in the textarea match the style of the normal text in that element. Is it possible to do this with JavaScript? I thought that perhaps I could loop through all the obj.style
properties and just apply them to the textarea.
例如,在 st流体上使用的字体是10px(?) 最终内容案文与14px Arial一样。