Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
0 votes
1.6k views
in Q2A Core by
I want to let my users add some tags via HTML in the WYSIWYG editor. So, when they add links with the anchor tags like <a> the tags will turn into an embeded link. Is there a way to do that? Right now, the tag itself is just rendered out.
Q2A version: 1.6

1 Answer

+2 votes
by
selected by
 
Best answer

You can enable the CKEditor's "source" button, that allows you to edit the html tags directly :

 

I'm using the CKEditor4 plugin

To enable it go to Admin ---> plugins --> CKEditor4 ---> "Toolbar buttons"

and add this string at the top :

['Source'],

that is the final "toolbar buttons" configuration should be :

['Source'],
['Bold','Italic','Underline','Strike'],
['Font','FontSize'],
['TextColor','BGColor'],
['Link','Unlink'],
'/',
['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],
['NumberedList','BulletedList','-','Outdent','Indent','Blockquote'],
['Image','Flash','Table','HorizontalRule','Smiley','SpecialChar'],
['RemoveFormat', 'Maximize']

 

by
>>>
To enable it go to Admin ---> plugins --> CKEditor4 ---> "Toolbar buttons"
<<<
I can't see this.  All I see is this:

WYSIWYG Editor v1.1.1 by Question2Answer
Wrapper for CKEditor WYSIWYG rich text editor
/home/xxxxxxx/qa-plugin/wysiwyg-editor/
by
Because you have not installed the CKEditor4 plugin.
You have to install it (read the post....)
by
got it.  thanks!
...