S
S
Statium2017-11-06 22:17:34
JavaScript
Statium, 2017-11-06 22:17:34

How to reset styles on enter?

I use the cleditor plugin for a site with the extension https://gist.github.com/stas/837281
This extension adds a code tag, after the tag is added, I simply cannot go to a new line. When you press Enter, a new code is added in a new line, when you delete a code, it moves to the previous one, how to reset the styles?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Stockholm Syndrome, 2019-08-13
@qukane23

because it is not one class

var girls = document.querySelector('.good.very.perfect');

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question