Click To Edit

I wonder if this kind of decoration should be applied regardless though?

Eg:

<p data-source-line="0">.....</p>

The extra data attribute will assist a lot of internal implementations we have, like, for example, not showing autocomplete when you are inside a code block. Also quoting and quick edit become much easier.

The trivial implementation carries almost no extra weight, but allows us to delete a pile of source code.

7 Likes