One of my functions alters the background of the tinymce editor. However, I am interested in having a wallpaper repeat in a similar fashion to background-repeat: repeat;
in CSS. How can I achieve this? Here is the function:
function SettinymceImage(bg_image) {
var t = tinyMCE.get(0);
t.getBody().style.backgroundImage = 'url(https://my_path_to_wallpapers/'+bg_image+')';
}