wip
This commit is contained in:
parent
14afb9cdd7
commit
06b9675a1f
|
|
@ -77,8 +77,11 @@
|
|||
previewWindow = document.getElementById("preview-iframe").contentWindow;
|
||||
app.design.ready = true;
|
||||
app.design.sidebar = true;
|
||||
$(previewWindow.document).find('.module-edit .edit').on('click', function(event) {
|
||||
// console.log($(this).parents('.module-item').prop('id'))
|
||||
window.parent.postMessage({index: 0}, '*')
|
||||
});
|
||||
});
|
||||
|
||||
</script>
|
||||
|
||||
@include('admin::pages.design.builder.component.image_selector')
|
||||
|
|
|
|||
|
|
@ -9,13 +9,13 @@
|
|||
|
||||
{!! $html !!}
|
||||
|
||||
<script>
|
||||
{{-- <script>
|
||||
$(function() {
|
||||
$(document).on('click', '.module-edit .edit', function(event) {
|
||||
window.parent.postMessage({index: 0}, '*')
|
||||
});
|
||||
});
|
||||
</script>
|
||||
</script> --}}
|
||||
{{-- <section class="module-wrap mb-5"><img src="{{ asset('image/default/banner.png') }}" class="img-fluid"></section> --}}
|
||||
{{-- @foreach ($categories as $category)
|
||||
<a href="{{ shop_route('categories.show', $category) }}">{{ $category->description->name }}</a>
|
||||
|
|
|
|||
Loading…
Reference in New Issue