カスタムコンポーネントのページのコードは次のとおりです。 Joomlaの外では、CKEditorが表示されますが、Joomlaではデフォルトのテキストエリアのみが表示されます。助けてください! >CK EditorをカスタムJoomlaコンポーネントに統合する際のトラブル
<fieldset>
<legend>System Text</legend>
<select name="txtid">
<option value="">Change Page</option>
<option value="1">Homepage Steps</option>
</select>
<h2>Setting 1</h2>
<p>
<textarea cols="80" id="editor2" name="editor2" rows="10"><p>This is some <strong>sample text</strong>. You are using <a href="http://ckeditor.com/">CKEditor</a>.</p></textarea>
</p>
<script type="text/javascript">
//<![CDATA[
// Replace the <textarea id="editor"> with an CKEditor
// instance, using default configurations.
CKEDITOR.replace('editor2',
{
extraPlugins : 'uicolor',
uiColor: '#14B8C4',
toolbar :
[
[ 'Bold', 'Italic', '-', 'NumberedList', 'BulletedList', '-', 'Link', 'Unlink' ],
[ 'UIColor' ]
]
});
//]]>
</script>
</fieldset>
>
。私はまだ標準的なテキストエリアしか受け取っていません。 – Refiking
はjoomlaでアクティブにされたプラグインですか? – Tarek
はい。 tinymceプラグインが有効になっています。 – Refiking