- Регистрация
- 04.01.2015
- Сообщения
- 58
- Благодарностей
- 2
- Баллы
- 8
Ребята. Есть вот такой редактор хтмл. CKEditor 4.4.5"
НЕ могу его поле найти... Вот непосредственно что-бы хтмл вбивал...
Помогите пожалуйста.
часов 18 мучался уже не выдержал) может кто сталкивался.
Пробывал еще делать с емуляцией клавиатуры - оно вбивает... но этот редактор теги закрывает и таааакое получается)))
Вот его код(Все не влезло - пришлось сократить):
НЕ могу его поле найти... Вот непосредственно что-бы хтмл вбивал...
Помогите пожалуйста.
часов 18 мучался уже не выдержал) может кто сталкивался.
Пробывал еще делать с емуляцией клавиатуры - оно вбивает... но этот редактор теги закрывает и таааакое получается)))
Вот его код(Все не влезло - пришлось сократить):
HTML:
<label for="CampaignTemplate_inline_css" class="required">Inline css <span class="required">*</span></label> <select data-title="Inline css" data-container="body" data-toggle="popover" data-content="Whether the parser should extract the css from the head of the document and inline it for each matching attribute found in the document body." class="form-control has-help-text" placeholder="" data-placement="top" name="CampaignTemplate[inline_css]" id="CampaignTemplate_inline_css">
<option value="yes" selected="selected">Yes</option>
<option value="no">No</option>
</select> </div>
<div class="form-group col-lg-3">
<label for="CampaignTemplate_minify" class="required">Minify <span class="required">*</span></label> <select data-title="Minify" data-container="body" data-toggle="popover" data-content="Whether the parser should minify the template to reduce size." class="form-control has-help-text" placeholder="" data-placement="top" name="CampaignTemplate[minify]" id="CampaignTemplate_minify">
<option value="yes">Yes</option>
<option value="no" selected="selected">No</option>
</select> </div>
<div class="form-group col-lg-3">
<label for="CampaignTemplate_only_plain_text" class="required">Only plain text <span class="required">*</span></label> <select data-title="Only plain text" data-container="body" data-toggle="popover" data-content="Whether the template contains only plain text and should be treated like so by all parsers." class="form-control has-help-text" placeholder="" data-placement="top" name="CampaignTemplate[only_plain_text]" id="CampaignTemplate_only_plain_text">
<option value="yes">Yes</option>
<option value="no" selected="selected">No</option>
</select> </div>
<div class="form-group col-lg-3" style="display:;">
<label for="CampaignTemplate_auto_plain_text" class="required">Auto plain text <span class="required">*</span></label> <select data-title="Auto plain text" data-container="body" data-toggle="popover" data-content="Whether the plain text version of the html template should be auto generated." class="form-control has-help-text" placeholder="" data-placement="top" name="CampaignTemplate[auto_plain_text]" id="CampaignTemplate_auto_plain_text">
<option value="yes" selected="selected">Yes</option>
<option value="no">No</option>
</select> </div>
<div class="clearfix"><!-- --></div>
<hr />
<div class="form-group" style="display:;">
<label for="CampaignTemplate_content" class="required">Content <span class="required">*</span></label> [<a data-toggle="modal" href="#available-tags-modal">Available tags</a>]
<textarea class="form-control" placeholder="" rows="30" name="CampaignTemplate[content]" id="CampaignTemplate_content">
</textarea> </div>
<div class="clearfix"><!-- --></div>
<div class="form-group plain-text-version" style="display:none;">
<label for="CampaignTemplate_plain_text">Plain text</label> [<a data-toggle="modal" href="#available-tags-modal">Available tags</a>]
<textarea data-title="Plain text" data-container="body" data-toggle="popover" data-content="This is the plain text version of the html template. If left empty and autogenerate option is set to "yes" then this will be created based on your html template." class="form-control has-help-text" placeholder="" data-placement="top" rows="20" name="CampaignTemplate[plain_text]" id="CampaignTemplate_plain_text">
</textarea> </div>
<div class="clearfix"><!-- --></div>
<div class="pull-right">
<a class="btn btn-primary" data-toggle="modal" title="Google UTM tags" href="#google-utm-tags-modal">Google UTM tags</a> <button type="button" class="btn btn-primary btn-plain-text" data-showtext="Show plain text version" data-hidetext="Hide plain text version" style="display:;">Show plain text version</button>
<button type="submit" id="is_next" name="is_next" value="0" class="btn btn-primary btn-submit btn-go-next" data-loading-text="Please wait, processing...">Save template changes</button>
</div>
<div class="clearfix"><!-- --></div>
<div class="clearfix"><!-- --></div>
</div>
<div class="box-footer">
<div class="wizard">
<ul class="steps">
<li class="complete"><a href="/customer/index.php/campaigns/bp986tchom574/update">Details</a><span class="chevron"></span></li>
<li class="complete"><a href="/customer/index.php/campaigns/bp986tchom574/setup">Setup</a><span class="chevron"></span></li>
<li class="active"><a href="/customer/index.php/campaigns/bp986tchom574/template">Template</a><span class="chevron"></span></li>
<li><a href="/customer/index.php/campaigns/bp986tchom574/confirm">Confirmation</a><span class="chevron"></span></li>
<li><a href="javascript:;">Done</a><span class="chevron"></span></li>
</ul>
<div class="actions">
<button type="submit" id="is_next" name="is_next" value="1" class="btn btn-primary btn-submit btn-go-next" data-loading-text="Please wait, processing...">Save and next</button>
</div>
</div>
</div>
</div>
</form> <div class="modal fade" id="available-tags-modal" tabindex="-1" role="dialog" aria-labelledby="available-tags-modal-label" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
<div class="modal fade" id="template-test-email" tabindex="-1" role="dialog" aria-labelledby="template-test-email-label" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<h4 class="modal-title">Send a test email</h4>
</div>
<div class="modal-body">
<div class="callout callout-info">
<strong>Notes: </strong><br />
* if multiple recipients, separate the email addresses by a comma.<br /> * the email tags will be parsed and we will pick a random subscriber to impersonate.<br /> * the tracking will not be enabled.<br /> * make sure you save the template changes before you send the test. </div>
<form id="template-test-form" action="/customer/index.php/campaigns/bp986tchom574/test" method="post">
<div style="display:none"><input type="hidden" value="c4dc067a6eaa7f3b81dc36d9d4ce7330497c6ae0" name="csrf_token" /></div> <div class="form-group">
<label for="email">Recipient(s)</label> <input class="form-control" placeholder="i.e: [email protected], [email protected], [email protected]" type="text" name="email" id="email" /> </div>
<div class="clearfix"><!-- --></div>
<div class="form-group">
<label for="from_email">From email (optional)</label> <input class="form-control" placeholder="i.e: [email protected]" type="text" name="from_email" id="from_email" /> </div>
</form> </div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
<button type="button" class="btn btn-primary btn-submit" onclick="$('#template-test-form').submit();">Send test</button>
</div>
</div>
</div>
</div>