mirror of
https://github.com/Karaka-Management/oms-Editor.git
synced 2026-02-14 09:18:41 +00:00
Fix tab bug
This commit is contained in:
parent
91f7e14bbf
commit
020d2af33e
|
|
@ -1,16 +1,15 @@
|
||||||
<div id="<?= $this->printHtml($this->getId()); ?>" class="tabular m-editor">
|
<div id="<?= $this->printHtml($this->getId()); ?>" class="tabview tab-2 m-editor">
|
||||||
<ul class="tab-links">
|
<ul class="tab-links">
|
||||||
<li><label for="<?= $this->printHtml($this->getId()); ?>-c-tab-1"><?= $this->getHtml('Text', 'Editor'); ?></label>
|
<li><label for="<?= $this->printHtml($this->getId()); ?>-c-tab-1"><?= $this->getHtml('Text', 'Editor'); ?></label>
|
||||||
<li><label for="<?= $this->printHtml($this->getId()); ?>-c-tab-2"><?= $this->getHtml('Preview', 'Editor'); ?></label>
|
<li><label for="<?= $this->printHtml($this->getId()); ?>-c-tab-2"><?= $this->getHtml('Preview', 'Editor'); ?></label>
|
||||||
</ul>
|
</ul>
|
||||||
<div class="tab-content">
|
<div class="tab-content">
|
||||||
<input type="radio" id="<?= $this->printHtml($this->getId()); ?>-c-tab-1" name="tabular-1" checked>
|
<input type="radio" id="<?= $this->printHtml($this->getId()); ?>-c-tab-1" name="tabular-1" checked>
|
||||||
|
|
||||||
<div class="tab">
|
<div class="tab">
|
||||||
<textarea style="height: 300px" placeholder="" name="<?= $this->printHtml($this->getName()); ?>" form="<?= $this->printHtml($this->getForm()); ?>"><?= $this->printHtml(isset($doc) ? $doc->getPlain() : ''); ?></textarea><input type="hidden" id="<?= $this->printHtml($this->getId()); ?>-parsed">
|
<textarea style="height: 300px" placeholder="" name="<?= $this->printHtml($this->getName()); ?>" form="<?= $this->printHtml($this->getForm()); ?>"><?= $this->printHtml(isset($doc) ? $doc->getPlain() : ''); ?></textarea><input type="hidden" id="<?= $this->printHtml($this->getId()); ?>-parsed">
|
||||||
</div>
|
</div>
|
||||||
<input type="radio" id="<?= $this->printHtml($this->getId()); ?>-c-tab-2" name="tabular-1">
|
|
||||||
|
|
||||||
|
<input type="radio" id="<?= $this->printHtml($this->getId()); ?>-c-tab-2" name="tabular-1">
|
||||||
<div class="tab">
|
<div class="tab">
|
||||||
<?= $this->printHtml(isset($doc) ? $doc->getContent() : ''); ?>
|
<?= $this->printHtml(isset($doc) ? $doc->getContent() : ''); ?>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user