Is this the expected behavior?
No. It's all or nothing. Everything between the <script> tags is considered a single entity. You can't break it apart with Editable regions.
Aw, that's a bummer. Thanks for the info.