Wrapping selected text by snippets
Posted: Thu Jun 13, 2024 2:09 pm
I was looking for a feature in the Oxygen XML Editor that is similar to the "Edit" browser add-on or Surround by Mehmet Yatkı (much more difficult to configure) — the ability to add one snippet before the selected code fragment, and another snippet immediately after the selected fragment (or two halves of one snippet, if you like). For example, after selecting text
and applying a previously saved snippet, we will receive
As I understand from articles "CSS-like Editing (Emmet)", "Oxygen Emmet Plugin", and "Oxygen Emmet Plugin", as well as topic "Wrap/unwrap selected text in an element", the fundamental possibility of such functionality is present in the application. Is this possible in the current version of the application, or should this be a development request?
Code: Select all
Webinar: Web Author Customizations - Getting Started
Code: Select all
<div class="video-container">
<iframe src="//www.youtube.com/embed/=cHRBc2SpW2s" frameborder="0" allowfullscreen=""></iframe>
<div class="video-container__title">Webinar: Web Author Customizations - Getting Started</div>
</div>