Skip to content

Commit

Permalink
Fix edit inline of sections
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Aug 15, 2019
1 parent b5d72ed commit 3dedb21
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
20 changes: 10 additions & 10 deletions htdocs/website/samples/page-sample-dynamiccontent.html
@@ -1,23 +1,23 @@
<!-- Enter here your HTML content. Add and if and tag contenteditable="true" if you want to use the inline editor for the content -->
<div id="div1" class="dolcontenteditable" style="text-align: center" contenteditable="true">
<section id="div1" class="dolcontenteditable" style="text-align: center" contenteditable="true">
<br>
__(MyContainerTitle)__
<br><br>
</div>
</section>


<div id="divmycompany" style="text-align: center" contenteditable="true">
<section id="divmycompany" style="text-align: center" contenteditable="true">
This is example of dynamic content to get the name of your company (see source of page to see code):<br>
</div>
</section>
<h1 style="text-align: center" >
<?php echo $mysoc->name; ?>
<br>
</h1>


<div id="divmetadata" style="text-align: center" contenteditable="true">
<section id="divmetadata" style="text-align: center" contenteditable="true">
This is another example of dynamic content to get meta data of a container/page (see source of page to see code):<br>
</div>
</section>
<div style="text-align: center">
__(Title)__ : <?php echo $websitepage->title; ?><br>
__(Description)__ : <?php echo $websitepage->description; ?><br>
Expand All @@ -27,18 +27,18 @@ <h1 style="text-align: center" >
</div>


<div id="divinclude" style="text-align: center" contenteditable="true">
<section id="divinclude" style="text-align: center" contenteditable="true">
__(AnotherContainer)__
</div>
</section>
<div style="text-align: center">
<?php includeContainer('alias_of_container_to_include'); ?>
</div>


<div id="div5" style="text-align: center" contenteditable="true">
<section id="div5" style="text-align: center" contenteditable="true">
<br><br>
__(YouCanEditHtmlSource)__
<br><br>
Page created by __WEBSITE_CREATE_BY__
<br>
</div>
</section>
4 changes: 2 additions & 2 deletions htdocs/website/samples/page-sample-empty.html
@@ -1,3 +1,3 @@
<!-- Enter here your HTML content. Add and if and tag contenteditable="true" if you want to use the inline editor for the content -->
<div id="myfirstdiv" contenteditable="true">
</div>
<section id="mysection1" contenteditable="true">
</section>

0 comments on commit 3dedb21

Please sign in to comment.