Wednesday, July 8, 2015

Bigger editing area for the Script Editor Web Part

This is not new or revelatory, but I needed to jot it down somewhere I can find it when I forget.

When working with the Script Editor Web Part, you can get a bigger text box by pasting this in as the first thing:

<style>
    .ms-rte-embeddialog-textarea {
        width: 1000px;
        height: 500px;
    }
</style>

It gets applied to the editing dialog fairly quickly, so you have a much easier time adding script snippets.

No comments:

Post a Comment