|
blockManager.add('layout-page-0', { |
|
category: categories.pages, |
|
attributes: { |
|
title: 'Insert page' |
|
}, |
|
label: |
|
` |
|
<div> |
|
<svg xmlns="http://www.w3.org/2000/svg" x="0px" y="0px" |
|
width="42" height="57" |
|
viewBox="0 0 172 172" |
|
style=" fill:#000000;"><g fill="none" fill-rule="nonzero" stroke="none" stroke-width="1" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="10" stroke-dasharray="" stroke-dashoffset="0" font-family="none" font-weight="none" font-size="none" text-anchor="none" style="mix-blend-mode: normal"><path d="M0,172v-172h172v172z" fill="none"></path><g fill="#b6c6d8"><path d="M24.08,6.88v158.24h123.84v-114.9175l-0.9675,-1.075l-41.28,-41.28l-1.075,-0.9675zM30.96,13.76h68.8v27.52h-48.16v6.88h48.16v6.88h41.28v103.2h-110.08zM106.64,18.705l29.455,29.455h-29.455zM51.6,75.68v6.88h10.32v-6.88zM75.68,75.68v6.88h44.72v-6.88zM51.6,96.32v6.88h10.32v-6.88zM75.68,96.32v6.88h44.72v-6.88zM51.6,116.96v6.88h10.32v-6.88zM75.68,116.96v6.88h44.72v-6.88z"></path></g></g></svg> |
|
<div class="uk-text-normal uk-text-bold">Home 0</div> |
|
</div> |
|
`, |
|
content: |
|
` |
|
<div class="uk-section uk-section-default uk-padding-small uk-position-relative"> |
|
<div class="uk-container uk-margin-small uk-padding-medium uk-container-large"> |
|
<div id="ilqj" class="uk-box-shadow-small uk-border-rounded"> |
|
<div class="uk-grid uk-margin-remove"> |
|
<div id="im06m" class="uk-width-1-3 uk-flex uk-flex-middle uk-padding-medium"> |
|
<div class="uk-padding-small uk-text-left uk-width-medium"> |
|
<h1 class="uk-heading-small uk-width-1-1 uk-text-bold">Recipe |
|
<br/>Contest |
|
</h1> |
|
<p class="uk-text-small uk-width-1-1"> |
|
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse varius enim in |
|
</p> |
|
<div id="i101" class="uk-width-1-1"> |
|
<a href="#" id="ihbt" class="uk-display-inline">How they work</a> |
|
<div id="ik43h" class="uk-display-inline"> |
|
</div> |
|
</div> |
|
</div> |
|
</div> |
|
<div class="uk-width-expand uk-padding-small uk-height-large"> |
|
<div class="uk-height-1-1 uk-placeholder uk-flex uk-flex-middle uk-flex-center">[Remove and insert an image] |
|
</div> |
|
</div> |
|
</div> |
|
</div> |
|
<div id="iwwqm" class="uk-margin-medium-top"> |
|
<div class="uk-grid uk-margin-remove"> |
|
<ul class="uk-nav uk-nav-default uk-width-1-5 uk-padding-small"> |
|
<li class="uk-active"> |
|
<a href="#" id="imyez" class="uk-text-bold uk-text-large">Filter By</a> |
|
</li> |
|
<li> |
|
<a href="#" id="ir8xk">Contest Winners</a> |
|
</li> |
|
<li id="ihacp"> |
|
<a href="#" id="i59ca">Featured</a> |
|
</li> |
|
<li id="imz84"> |
|
<a href="#" id="ik4bt">Test Kitchen-Approved</a> |
|
</li> |
|
</ul> |
|
<div class="uk-width-expand"> |
|
<div class="uk-text-center uk-grid"> |
|
<div id="itdh" class="uk-width-1-3 uk-padding-small"> |
|
<div id="idp1f" class="uk-height-small uk-border-rounded uk-box-shadow-medium uk-margin-small"> |
|
</div> |
|
<div id="i8wvs"> |
|
<h1 id="ilthm" class="uk-text-left uk-margin-remove uk-text-small uk-text-bold">Kerala Chicken Curry |
|
</h1> |
|
<p class="uk-text-small uk-text-left uk-margin-remove"> |
|
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse varius enim in |
|
</p> |
|
</div> |
|
<div id="ihon8" class="uk-width-1-1 uk-clearfix uk-margin-small-remove"> |
|
<a href="#" class="uk-margin-remove uk-align-left uk-text-small">By Sarah Elvis</a> |
|
</div> |
|
</div> |
|
<div class="uk-width-1-3 uk-padding-small"> |
|
<div id="ibqq7" class="uk-height-small uk-border-rounded uk-box-shadow-medium uk-margin-small"> |
|
</div> |
|
<div id="iqy5m"> |
|
<h1 class="uk-text-left uk-margin-remove uk-text-small uk-text-bold">Kerala Chicken Curry |
|
</h1> |
|
<p class="uk-text-small uk-text-left uk-margin-remove"> |
|
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse varius |
|
</p> |
|
</div> |
|
<div class="uk-width-1-1 uk-clearfix uk-margin-small-remove"> |
|
<a href="#" class="uk-margin-remove uk-align-left uk-text-small">By Sarah Elvis</a> |
|
</div> |
|
</div> |
|
<div id="ipjr" class="uk-width-1-3 uk-padding-small"> |
|
<div id="i59ih" class="uk-height-small uk-border-rounded uk-box-shadow-medium uk-margin-small"> |
|
</div> |
|
<div id="i7bxa"> |
|
<h1 class="uk-text-left uk-margin-remove uk-text-small uk-text-bold">Kerala Chicken Curry |
|
</h1> |
|
<p class="uk-text-small uk-text-left uk-margin-remove"> |
|
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse varius enim in eros |
|
</p> |
|
</div> |
|
<div class="uk-width-1-1 uk-clearfix uk-margin-small-remove"> |
|
<a href="#" class="uk-margin-remove uk-align-left uk-text-small">By Sarah Elvis</a> |
|
</div> |
|
</div> |
|
</div> |
|
</div> |
|
</div> |
|
</div> |
|
<hr/> |
|
<div class="uk-margin-small-remove"> |
|
<div id="isuyk" class="uk-padding-small"> |
|
<h1 class="uk-text-bold uk-text-large uk-margin-remove">Featured |
|
</h1> |
|
<p class="uk-margin-remove">Some of our qualified listings. |
|
</p> |
|
</div> |
|
<div class="uk-grid uk-margin-remove"> |
|
<div class="uk-width-expand"> |
|
<div class="uk-text-center uk-grid"> |
|
<div class="uk-padding-small uk-width-1-2"> |
|
<div class="uk-height-small uk-border-rounded uk-box-shadow-medium uk-margin-small"> |
|
</div> |
|
<div> |
|
<h1 class="uk-text-left uk-margin-remove uk-text-small uk-text-bold">Kerala Chicken Curry |
|
</h1> |
|
<p class="uk-text-small uk-text-left uk-margin-remove"> |
|
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse varius enim inLorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse varius enim inLorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse varius enim in |
|
</p> |
|
</div> |
|
<div class="uk-width-1-1 uk-clearfix uk-margin-small-remove"> |
|
<a href="#" class="uk-margin-remove uk-align-left uk-text-small">By Sarah Elvis</a> |
|
</div> |
|
</div> |
|
<div class="uk-padding-small uk-width-1-2"> |
|
<div class="uk-height-small uk-border-rounded uk-box-shadow-medium uk-margin-small"> |
|
</div> |
|
<div> |
|
<h1 class="uk-text-left uk-margin-remove uk-text-small uk-text-bold">Kerala Chicken Curry |
|
</h1> |
|
<p class="uk-text-small uk-text-left uk-margin-remove">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse varius enim inLorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse varius enim inLorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse varius enim in eros |
|
</p> |
|
</div> |
|
<div class="uk-width-1-1 uk-clearfix uk-margin-small-remove"> |
|
<a href="#" class="uk-margin-remove uk-align-left uk-text-small">By Sarah Elvis</a> |
|
</div> |
|
</div> |
|
</div> |
|
</div> |
|
</div> |
|
</div> |
|
<div class="uk-grid uk-margin-remove" id="i49l79"> |
|
<div class="uk-padding-large uk-width-1-2"> |
|
<div class="uk-flex uk-flex-middle uk-padding-medium uk-width-1-1 uk-flex-center"> |
|
<div class="uk-padding-small uk-text-left uk-text-center"> |
|
<h1 class="uk-heading-small uk-width-1-1 uk-text-bold">Recipes |
|
</h1> |
|
<p class="uk-text-small uk-width-medium uk-align-center uk-clearfix"> |
|
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse varius enim in |
|
</p> |
|
<div class="uk-width-1-1"> |
|
<a href="#" class="uk-display-inline">Show More Recipes</a> |
|
<div class="uk-display-inline"> |
|
</div> |
|
</div> |
|
</div> |
|
</div> |
|
</div> |
|
<div class="uk-padding-large uk-width-1-2"> |
|
<div class="uk-flex uk-flex-middle uk-padding-medium uk-width-1-1 uk-flex-center"> |
|
<div class="uk-padding-small uk-text-left uk-text-center"> |
|
<h1 class="uk-heading-small uk-width-1-1 uk-text-bold">Books |
|
</h1> |
|
<p class="uk-text-small uk-width-medium uk-align-center uk-clearfix"> |
|
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse varius enim in |
|
</p> |
|
<div class="uk-width-1-1"> |
|
<a href="#" class="uk-display-inline">Show More Books</a> |
|
<div class="uk-display-inline"> |
|
</div> |
|
</div> |
|
</div> |
|
</div> |
|
</div> |
|
</div> |
|
<hr/> |
|
<div class="uk-margin-small-remove"> |
|
<div id="iqljz" class="uk-padding-small"> |
|
<h1 id="i53ze" class="uk-text-bold uk-text-large uk-margin-remove">Restaurants Near You |
|
</h1> |
|
<p id="iyp9dj" class="uk-margin-remove">Very delicios places around your neighbourhood. |
|
</p> |
|
</div> |
|
<div class="uk-grid uk-margin-remove"> |
|
<div class="uk-width-expand"> |
|
<div class="uk-text-center uk-grid"> |
|
<div class="uk-width-1-3 uk-padding-small"> |
|
<div class="uk-height-small uk-border-rounded uk-box-shadow-medium uk-margin-small"> |
|
</div> |
|
<div> |
|
<h1 class="uk-text-left uk-margin-remove uk-text-small uk-text-bold">Kerala Chicken Curry |
|
</h1> |
|
<p class="uk-text-small uk-text-left uk-margin-remove"> |
|
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse varius enim in |
|
</p> |
|
</div> |
|
<div class="uk-width-1-1 uk-clearfix uk-margin-small-remove"> |
|
<a href="#" class="uk-margin-remove uk-align-left uk-text-small">By Sarah Elvis</a> |
|
</div> |
|
</div> |
|
<div class="uk-width-1-3 uk-padding-small"> |
|
<div class="uk-height-small uk-border-rounded uk-box-shadow-medium uk-margin-small"> |
|
</div> |
|
<div> |
|
<h1 class="uk-text-left uk-margin-remove uk-text-small uk-text-bold">Kerala Chicken Curry |
|
</h1> |
|
<p class="uk-text-small uk-text-left uk-margin-remove"> |
|
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse varius |
|
</p> |
|
</div> |
|
<div class="uk-width-1-1 uk-clearfix uk-margin-small-remove"> |
|
<a href="#" class="uk-margin-remove uk-align-left uk-text-small">By Sarah Elvis</a> |
|
</div> |
|
</div> |
|
<div class="uk-width-1-3 uk-padding-small"> |
|
<div class="uk-height-small uk-border-rounded uk-box-shadow-medium uk-margin-small"> |
|
</div> |
|
<div> |
|
<h1 class="uk-text-left uk-margin-remove uk-text-small uk-text-bold">Kerala Chicken Curry |
|
</h1> |
|
<p class="uk-text-small uk-text-left uk-margin-remove"> |
|
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse varius enim in eros |
|
</p> |
|
</div> |
|
<div class="uk-width-1-1 uk-clearfix uk-margin-small-remove"> |
|
<a href="#" class="uk-margin-remove uk-align-left uk-text-small">By Sarah Elvis</a> |
|
</div> |
|
</div> |
|
</div> |
|
</div> |
|
</div> |
|
</div> |
|
<div class="uk-container uk-margin-small uk-padding-medium uk-container-large uk-margin-small-remove"> |
|
<div id="ilqj-2" class="uk-box-shadow-small uk-border-rounded uk-padding-large"> |
|
<div id="im06m-2" class="uk-flex uk-flex-middle uk-padding-medium uk-width-1-1 uk-flex-center"> |
|
<div class="uk-padding-small uk-text-left uk-text-center"> |
|
<h1 class="uk-heading-small uk-width-1-1 uk-text-bold">Recipe Contest |
|
</h1> |
|
<p class="uk-text-small uk-width-medium uk-align-center uk-clearfix"> |
|
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse varius enim in |
|
</p> |
|
<div id="i101-2" class="uk-width-1-1"> |
|
<a href="#" id="ihbt-2" class="uk-display-inline">How they work</a> |
|
<div id="ik43h-2" class="uk-display-inline"> |
|
</div> |
|
</div> |
|
</div> |
|
</div> |
|
</div> |
|
</div> |
|
</div> |
|
</div> |
|
`, |
|
render: ({ model, className }) => `<div class="${className}__my-wrap"> ${model.get('label')} </div>`, |
|
}); |