Welcome,
Guest
.
Please
login
or
register
.
Did you miss your
activation email
?
News:
EDC:
Download extensions for Elxis CMS
.
Home
Help
Login
Register
Elxis CMS Forum
»
Support
»
General
(Moderators:
Ivan Trebješanin
,
Farhad Sakhaei
) »
<code> tag in ckeditor style dropdown list
« previous
next »
Print
Pages: [
1
]
Author
Topic: <code> tag in ckeditor style dropdown list (Read 4367 times)
maple
Full Member
Posts: 192
<code> tag in ckeditor style dropdown list
«
on:
August 23, 2014, 12:55:19 »
Hi,
I see that in the Elxis 4.2 version don't display the <code></code> tag in ckeditor style dropdown list. We use this sometimes for the Image plugin. Sometimes instead to go to the Image plugin using the Elxis icon in the ckeditor toolbar, we insert directly the code in the article. For this reason it's useful to implement the code tag in the dropdown style list.
Anyway, if someone want to add the code tag:
go to
includes\js\ckeditor\plugins\styles
open the
default.js
file
and add the following line:
{name:'Code',element:'code'},
thanks
«
Last Edit: August 23, 2014, 13:18:41 by maple
»
Logged
datahell
Elxis Team
Hero Member
Posts: 10356
Re: <code> tag in ckeditor style dropdown list
«
Reply #1 on:
August 24, 2014, 12:21:56 »
Guided input
plugin manager adds
code
blocks to highlight the plugin.
For example when you insert an image the integration code is:
{image}media/images/test.jpg{/image}
Elxis does
not
require code blocks.
However
guided input
puts code tags just for highlight purposes inside the editor.
When the plugin runs it removes code tags from the final HTML.
<code>
{image}media/images/test.jpg{/image}
</code>
So
plugins work with or without code tags
.
In the case you dont use code tags you just wont have highlight of the plugin inside the editor.
«
Last Edit: August 24, 2014, 12:23:37 by datahell
»
Logged
Elxis Team
|
Is Open Source
|
IOS Rentals | IOS AERO
maple
Full Member
Posts: 192
Re: <code> tag in ckeditor style dropdown list
«
Reply #2 on:
August 24, 2014, 13:54:16 »
Thank you, datahell
Logged
Print
Pages: [
1
]
« previous
next »
Elxis CMS Forum
»
Support
»
General
(Moderators:
Ivan Trebješanin
,
Farhad Sakhaei
) »
<code> tag in ckeditor style dropdown list