first commit
This commit is contained in:
30
components/com_jce/editor/tiny_mce/plugins/article/article.xml
vendored
Normal file
30
components/com_jce/editor/tiny_mce/plugins/article/article.xml
vendored
Normal file
@@ -0,0 +1,30 @@
|
||||
<?xml version="1.0" ?>
|
||||
<extension version="3.4" type="plugin" group="jce" method="upgrade">
|
||||
<name>WF_ARTICLE_TITLE</name>
|
||||
<version>2.9.32</version>
|
||||
<creationDate>01-11-2022</creationDate>
|
||||
<author>Ryan Demmer</author>
|
||||
<authorEmail>info@joomlacontenteditor.net</authorEmail>
|
||||
<authorUrl>https://www.joomlacontenteditor.net/</authorUrl>
|
||||
<copyright>Ryan Demmer</copyright>
|
||||
<license>GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html</license>
|
||||
<description>WF_ARTICLE_DESC</description>
|
||||
<icon>readmore,pagebreak</icon>
|
||||
|
||||
<fields name="article">
|
||||
<fieldset name="config">
|
||||
|
||||
<field type="heading" label="WF_PROFILES_PLUGINS_BUTTONS" />
|
||||
|
||||
<field name="buttons" type="buttons" multiple="multiple" default="readmore,pagebreak" label="WF_PARAM_BUTTONS" description="WF_PARAM_BUTTONS_DESC">
|
||||
<option value="readmore">WF_ARTICLE_READMORE</option>
|
||||
<option value="pagebreak">WF_ARTICLE_PAGEBREAK</option>
|
||||
</field>
|
||||
</fieldset>
|
||||
</fields>
|
||||
|
||||
<help>
|
||||
<topic key="article.about" title="WF_ARTICLE_HELP_ABOUT" />
|
||||
</help>
|
||||
<languages></languages>
|
||||
</extension>
|
||||
21
components/com_jce/editor/tiny_mce/plugins/article/config.php
vendored
Normal file
21
components/com_jce/editor/tiny_mce/plugins/article/config.php
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @copyright Copyright (c) 2009-2022 Ryan Demmer. All rights reserved
|
||||
* @license GNU/GPL 2 or later - http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
|
||||
* JCE is free software. This version may have been modified pursuant
|
||||
* to the GNU General Public License, and as distributed it includes or
|
||||
* is derivative of works licensed under the GNU General Public License or
|
||||
* other free or open source software licenses
|
||||
*/
|
||||
class WFArticlePluginConfig
|
||||
{
|
||||
public static function getConfig(&$settings)
|
||||
{
|
||||
$wf = WFApplication::getInstance();
|
||||
|
||||
//$settings['article_hide_xtd_btns'] = $wf->getParam('article.hide_xtd_btns', 0, 0);
|
||||
$settings['article_show_readmore'] = $wf->getParam('article.show_readmore', 1, 1);
|
||||
$settings['article_show_pagebreak'] = $wf->getParam('article.show_pagebreak', 1, 1);
|
||||
}
|
||||
}
|
||||
1
components/com_jce/editor/tiny_mce/plugins/article/css/content.css
vendored
Normal file
1
components/com_jce/editor/tiny_mce/plugins/article/css/content.css
vendored
Normal file
@@ -0,0 +1 @@
|
||||
hr[class].mce-item-pagebreak,hr[class].mce-item-readmore{display:inline-block;padding:0 2px;margin:0;border:1px dashed #ccc;background-color:#fafafa;background-repeat:no-repeat;background-position:center;height:20px;width:99%;font-size:0;line-height:0;letter-spacing:normal;word-spacing:normal;cursor:pointer}hr[class].mce-item-pagebreak.mce-item-selected,hr[class].mce-item-readmore.mce-item-selected{background-color:#d9edf7;border-color:#31708f}hr[class].mce-item-readmore{background-image:url(../img/readmore.png);clear:both}hr[class].mce-item-pagebreak{background-image:url(../img/pagebreak.png);clear:both}hr[class].mce-item-pagebreak:after{content:attr(title);color:#444;font-size:12px;line-height:20px;padding:0 5px;display:block;float:left}
|
||||
1
components/com_jce/editor/tiny_mce/plugins/article/css/index.html
vendored
Normal file
1
components/com_jce/editor/tiny_mce/plugins/article/css/index.html
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<html><body bgcolor="#FFFFFF"></body></html>
|
||||
2
components/com_jce/editor/tiny_mce/plugins/article/editor_plugin.js
vendored
Normal file
2
components/com_jce/editor/tiny_mce/plugins/article/editor_plugin.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1
components/com_jce/editor/tiny_mce/plugins/article/img/index.html
vendored
Normal file
1
components/com_jce/editor/tiny_mce/plugins/article/img/index.html
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<html><body bgcolor="#FFFFFF"></body></html>
|
||||
BIN
components/com_jce/editor/tiny_mce/plugins/article/img/pagebreak.png
vendored
Normal file
BIN
components/com_jce/editor/tiny_mce/plugins/article/img/pagebreak.png
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 716 B |
BIN
components/com_jce/editor/tiny_mce/plugins/article/img/readmore.png
vendored
Normal file
BIN
components/com_jce/editor/tiny_mce/plugins/article/img/readmore.png
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 373 B |
BIN
components/com_jce/editor/tiny_mce/plugins/article/img/trans.gif
vendored
Normal file
BIN
components/com_jce/editor/tiny_mce/plugins/article/img/trans.gif
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 43 B |
1
components/com_jce/editor/tiny_mce/plugins/article/index.html
vendored
Normal file
1
components/com_jce/editor/tiny_mce/plugins/article/index.html
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<html><body bgcolor="#FFFFFF"></body></html>
|
||||
Reference in New Issue
Block a user