Loading...
 
Use a WYSIWYG editor to edit a section of content

Plugin WYSIWYG

Introduced in Tiki9

Use this wiki plugin to have a WYSIWYG section for part of a page. For example, you want to use WYSIWYG for a table, but keep most of the page as wiki syntax.The WYSIWYG feature (which is when you want the full page to be WYSIWYG) doesn't need to be activated.

Parameters

Introduced in Tiki9.
Preferences required: wikiplugin_wysiwyg
Parameters Accepted Values Description Default Since
(body of plugin) Content
height text Minimum height for DIV. Default: 300px 300px 9.0
width text Minimum width for DIV. Default: 500px 500px 9.0
use_html (blank)
y
n
Override the wysiwyg_htmltowiki preference if needed. Defaults to No (n) if wysiwyg_htmltowiki is set to Yes (y). y 14.1



Note that HTML Purifier is always on for your security when using this plugin. Invalid/insecure HTML is scrubbed. If you don't want this, you need to manually edit lib/wiki-plugins/wikiplugin_wysiwyg.php

Example

When you see the page, you can mouse over any section of the page surrounded by PluginWysiwyg tags in the source, and the background of that seection will change color (section 2 in the following screenshot). If you click on one of those sections (section 1 in the following screenshot), you open it for edition in WYSIWYG mode, while keeping the rest of the page still closed for edition.



If you edit the wiki page as usual, you will the the code behind it, which is a wiki paged ruled by wiki syntax, and sections in html syntax are enclosed by plugin wysiwyg tags.

! Section 1
{WYSIWYG()}<p>
	See the <a href="http://doc.tiki.org/PluginWYSIWYG" name="Link to doc site">documentation</a> and the <a href="http://dev.tiki.org/PluginWYSIWYG" name="Bug reports and feature requests">dev page</a>&nbsp;<img alt="enlightened" height="18" src="http://demo.tiki.org/trunk/lib/ckeditor/plugins/smiley/images/lightbulb.gif" title="enlightened" width="18" /></p>
<p style="text-align:justify;font-size:11px;line-height:14px;margin-top:0px;margin-right:0px;margin-bottom:14px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;font-family:Arial, Helvetica, sans;">
	Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut a ligula velit, imperdiet accumsan erat. Fusce ut enim eget tellus interdum gravida. Nulla luctus dapibus ipsum nec posuere. Curabitur quis ligula eget est dignissim placerat id quis augue. Sed eu eros at massa pretium pharetra sed ut est. Donec id gravida mauris. Integer id ipsum ac nisi porta lobortis. Vestibulum scelerisque viverra ipsum sed euismod. Quisque vitae augue ultrices metus accumsan ornare. Ut suscipit lorem sit amet leo pharetra sit amet gravida urna tempor.</p>
(...)
<p>
	&nbsp;</p>
{WYSIWYG}

! Section 2
{WYSIWYG()}<p>
	&nbsp;</p>
<p style="text-align:justify;font-size:11px;line-height:14px;margin-top:0px;margin-right:0px;margin-bottom:14px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;font-family:Arial, Helvetica, sans;">
	Lorem ipsum dolor sit amet, consectetur adipiscing &eacute;lit. Ut a ligula velit, imperdiet accumsan erat. Fusce ut enim eget tellus interdum gravida. Nulla luctus dapibus ipsum nec posuere. Curabitur quis ligula eget est dignissim placerat id quis augue. Sed eu eros at massa pretium pharetra sed ut est. Donec id gravida mauris. Integer id ipsum ac nisi porta lobortis. Vestibulum scelerisque viverra ipsum sed euismod. Quisque vitae augue ultrices metus accumsan ornare. Ut suscipit lorem sit amet leo pharetra sit amet gravida urna tempor.</p>
(...)
<p style="text-align:justify;font-size:11px;line-height:14px;margin-top:0px;margin-right:0px;margin-bottom:14px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;font-family:Arial, Helvetica, sans;">
	&nbsp;</p>
<table border="1" cellpadding="1" cellspacing="1" style="width:500px;">
	<tbody>
		<tr>
			<td>
				dsfsadf</td>
			<td>
				<strong>sdfsdf</strong></td>
		</tr>
		<tr>
			<td>
				<strong>safsf</strong></td>
			<td>
				sdfsdaf</td>
		</tr>
		<tr>
			<td>
				sdfsdaf</td>
			<td>
				sdf</td>
		</tr>
	</tbody>
</table>
(...)
<p>
	&nbsp;</p>
{WYSIWYG}

doc.tiki.org


Bootstrap

AdminGuide

UserGuide

Keywords

Keywords serve as "hubs" for navigation within the Tiki documentation. They correspond to development keywords (bug reports and feature requests):

Accessibility (WAI and 508)
Accounting (7.x)
Articles and Submissions
Backlinks
Banners
Batch (6.x)
BigBlueButton audio/video/chat/screensharing (5.x)
Blog
Bookmark
Browser Compatibility
Link Cache
Calendar
Category
Chat
Clean URLs
Comments
Communication Center
Compression (gzip)
Contacts (Address Book)
Contact us
Content Templates
Contribution (2.x)
Cookie
Copyright
Credit (6.x)
Custom Home and Group Home Page
Date and Time
Debugger Console
Directory of hyperlinks
Documentation link from Tiki to doc.tiki.org (Help System)
Docs 8.x
Draw 7.x
Dynamic Content
Dynamic Variable
External Authentication
FAQ
Featured links
File Gallery
Forum
Friendship Network (Community)
Gmap Google maps
Groups
Hotword
HTML Page
i18n (Multilingual, l10n, Babelfish)
Image Gallery
Import-Export
Install
Integrator
Interoperability
Inter-User Messages
InterTiki
Kaltura video management (4.x)
Karma
Live Support
Login
Logs (system & action)
Look and Feel
Lost edit protection
Mail-in
Map with Mapserver
Menu
Meta Tags
Mobile Tiki and Voice Tiki
Mods
Module
MultiTiki
MyTiki
Newsletter
Notepad
Payment
Performance Speed / Load
Permissions
Platform independence (Linux-Apache, Windows/IIS, Mac, BSD)
Polls
Profiles
Profile Manager
Report
Toolbar
Quiz
Rating
Feeds
Score
Search engine optimization
Search
Search and Replace
Security
Semantic links (3.x)
Shadowbox
Shadow Layers
Share
Shopping cart
Shoutbox
Slideshow
Smiley
Social Networks
Spam protection (Anti-bot CATPCHA)
Spellcheck
Spreadsheet
Stats
Surveys
Tags (2.x)
Task
Tell a Friend, alert + Social Bookmarking
TikiTests (2.x)
Theme CSS & Smarty
Trackers
Transitions (5.x)
TRIM
User Administration including registration and banning
User Files
User Menu
Watch
WebHelp
WebDAV (5.x)
Webmail
Web Services
Wiki 3D
Wiki History, page rename, etc
Wiki Page Staging and Approval (2.x)
Wiki Plugin extends basic syntax
Wiki Syntax
Wiki structure (book and table of content)
Workspace
WSOD
WYSIWYCA
WYSIWYG (2.x)
XMLRPC


Tiki Newsletter

Delivered fresh to your email inbox!
Newsletter subscribe icon
Don't miss major announcements and other news!
Contribute to Tiki