mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-03 17:22:20 +09:00
Merge branch 'develop' into next
This commit is contained in:
commit
818897fed4
8 changed files with 31 additions and 13 deletions
|
|
@ -44,7 +44,7 @@
|
|||
str = String(str);
|
||||
str = str.replace(/<!--(.*?)-->/gs, '');
|
||||
str = str.replace(/<\/?(\?xml|meta|link|font|span|style|script|noscript|frame|noframes|(?:st1|o):[a-z0-9]+)\b[^>]*?>/ig, '');
|
||||
str = str.replace(/(id|class|style|on(?:[a-z0-9]+)|Mso(?:[a-z0-9]+))="[^"]*"/ig, '');
|
||||
str = str.replace(/\b(id|class|style|on(?:[a-z0-9]+)|Mso(?:[a-z0-9]+))="[^"]*"/ig, '');
|
||||
str = str.replace(/(<\/?)div(\W)/g, '$1p$2');
|
||||
if (!str.match(/<\/?p>/)) {
|
||||
str = '<p>' + str + '</p>';
|
||||
|
|
@ -78,7 +78,7 @@
|
|||
// Set editor sequence and other info to the form.
|
||||
insert_form[0].setAttribute('editor_sequence', editor_sequence);
|
||||
editorRelKeys[editor_sequence] = {};
|
||||
editorRelKeys[editor_sequence].primary = insert_form.find("input[name='" + primary_key + "']");
|
||||
editorRelKeys[editor_sequence].primary = insert_form.find("input[name='" + primary_key + "']").get(0);
|
||||
editorRelKeys[editor_sequence].content = content_input;
|
||||
editorRelKeys[editor_sequence].func = editorGetContent;
|
||||
|
||||
|
|
|
|||
|
|
@ -105,7 +105,7 @@
|
|||
<!--@endforeach-->
|
||||
</select>
|
||||
<select name="comment_editor_colorset" class="editor_colorset_selector">
|
||||
<!--@foreach($editor_skin_list[$editor_config->editor_skin]->colorset ?: [] as $colorset)-->
|
||||
<!--@foreach($editor_skin_list[$editor_config->comment_editor_skin]->colorset ?: [] as $colorset)-->
|
||||
<option value="{$colorset->name}" selected="selected"|cond="$colorset->name === $editor_config->comment_editor_colorset">{$colorset->title}</option>
|
||||
<!--@endforeach-->
|
||||
</select>
|
||||
|
|
@ -134,7 +134,7 @@
|
|||
<!--@endforeach-->
|
||||
</select>
|
||||
<select name="mobile_comment_editor_colorset" class="editor_colorset_selector">
|
||||
<!--@foreach($editor_skin_list[$editor_config->mobile_editor_skin]->colorset ?: [] as $colorset)-->
|
||||
<!--@foreach($editor_skin_list[$editor_config->mobile_comment_editor_skin]->colorset ?: [] as $colorset)-->
|
||||
<option value="{$colorset->name}" selected="selected"|cond="$colorset->name === $editor_config->mobile_comment_editor_colorset">{$colorset->title}</option>
|
||||
<!--@endforeach-->
|
||||
</select>
|
||||
|
|
|
|||
|
|
@ -62,7 +62,7 @@
|
|||
<!--@endforeach-->
|
||||
</select>
|
||||
<select name="comment_editor_colorset" class="editor_colorset_selector">
|
||||
<!--@foreach($editor_skin_list[$editor_config->editor_skin]->colorset ?: [] as $colorset)-->
|
||||
<!--@foreach($editor_skin_list[$editor_config->comment_editor_skin]->colorset ?: [] as $colorset)-->
|
||||
<option value="{$colorset->name}" selected="selected"|cond="$colorset->name === $editor_config->comment_editor_colorset">{$colorset->title}</option>
|
||||
<!--@endforeach-->
|
||||
</select>
|
||||
|
|
@ -117,7 +117,7 @@
|
|||
<!--@endforeach-->
|
||||
</select>
|
||||
<select name="mobile_comment_editor_colorset" class="editor_colorset_selector">
|
||||
<!--@foreach($editor_skin_list[$editor_config->mobile_editor_skin]->colorset ?: [] as $colorset)-->
|
||||
<!--@foreach($editor_skin_list[$editor_config->mobile_comment_editor_skin]->colorset ?: [] as $colorset)-->
|
||||
<option value="{$colorset->name}" selected="selected"|cond="$colorset->name === $editor_config->mobile_comment_editor_colorset">{$colorset->title}</option>
|
||||
<!--@endforeach-->
|
||||
</select>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue