mirror of
https://github.com/Karaka-Management/oms-Editor.git
synced 2026-01-26 16:28:42 +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">
|
||||
<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>
|
||||
</ul>
|
||||
<div class="tab-content">
|
||||
<input type="radio" id="<?= $this->printHtml($this->getId()); ?>-c-tab-1" name="tabular-1" checked>
|
||||
|
||||
<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">
|
||||
</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">
|
||||
<?= $this->printHtml(isset($doc) ? $doc->getContent() : ''); ?>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user