Block editor: content resets to the previous state in “Edit as HTML” by clicking somewhere outside of the editing window

When I’m adding my custom block and then trying to edit it in “Edit as HTML” mode, any changes reset to the previous state every time when I click outside the editing window. Let say default HTML in my block is <div class=”wp-block-my-custom-video-box”></div>, if I make some changes, let say <div class=”wp-block-my-custom-video-box”>some text</div> some text…

Details

filter from json multi conditions

I am trying to create a filter by checkbox using js. Taking data from JSON, here is the example [{ “id”: 111, “name”: “Standart Room”, “img”: “rooms_img_1.jpg”, “price”: 126, “category”: “single”, “roomType”: “room”, “adults”: 1, “children”: 0, “bed”: “King”, “facilities”: “Closet with hangers, HD flat-screen TV, Telephone”, “area”: 20, “breakfast”: false, “reservedFrom”: “2020-02-07T23:28:56.782Z”, “reservedTo”: “2020-02-09T23:28:56.782Z”…

Details