User Tools

Site Tools


admin_menu:admin_tools_settings:wysiwyg_settings:start

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
admin_menu:admin_tools_settings:wysiwyg_settings:start [2009/09/22 17:26]
james
admin_menu:admin_tools_settings:wysiwyg_settings:start [2014/09/25 16:55] (current)
Line 1: Line 1:
 +{{indexmenu_n>40}}
 ====== WYSIWYG Settings ====== ====== WYSIWYG Settings ======
  
Line 26: Line 27:
 When you paste actual html or javascript into the wysiwyg view of the wysiwyg tool you are running the risk of the editor interpretting that as text you wish to display within the page and in this case may encode that code so that it displays directly in the browser page.  If you want to paste or work with source code click the "html" button in the wysiwyg admin tool to popup an html source view of the page and paste your javascript/html directly there.  Any text entered into that view will not be encoded. When you paste actual html or javascript into the wysiwyg view of the wysiwyg tool you are running the risk of the editor interpretting that as text you wish to display within the page and in this case may encode that code so that it displays directly in the browser page.  If you want to paste or work with source code click the "html" button in the wysiwyg admin tool to popup an html source view of the page and paste your javascript/html directly there.  Any text entered into that view will not be encoded.
  
-**The wysiwyg tool breaks any javascript that I put into it and sometimes adds extra lines to it that I didn't insert.  Why?**+**The wysiwyg tool breaks any javascript/flash that I put into it and sometimes adds extra lines to it that I didn't insert.  Why?**
  
-While in the html source view of the wysiwyg (click the "html" button in the top of the wysiwyg tool) ensure that the "word wrap" checkbox is unchecked.  Then paste your code into the html view.  The "word wrap" feature could automatically line inserts within long lines.  This can break javascript as line feeds/breaks are important to the syntax of javascript.+While in the html source view of the wysiwyg (click the "html" button in the top of the wysiwyg tool) ensure that the "word wrap" checkbox is unchecked.  Then paste your code into the html view.  The "word wrap" feature could automatically line inserts within long lines.  This can break javascript/flash code as line feeds/breaks are important to the syntax of javascript.
  
 **The "style" I insert with my javascript does not have an effect.  How do I fix?** **The "style" I insert with my javascript does not have an effect.  How do I fix?**
Line 37: Line 38:
  
 The wysiwyg editor tries to "correct" html you insert into it.  Make sure the html you enter is correct and doesn't confuse the editor.  If you leave an open <table>, <tr>, <td> or <div> tag you may not like the results and will have to deal with how the editor tries to "correct" your mistakes. The wysiwyg editor tries to "correct" html you insert into it.  Make sure the html you enter is correct and doesn't confuse the editor.  If you leave an open <table>, <tr>, <td> or <div> tag you may not like the results and will have to deal with how the editor tries to "correct" your mistakes.
 +
 +**The wysiwyg tool puts <head> and <body> tags within my html when I don't need them.  Why?**
 +
 +There are two states for the wysiwyg tool when editing html.  You can tell the wysiwyg how complete the html it should be expecting to edit.  You can tell it to expect a full html page or just partial html of a full page.  You can set either "partial page" or "full page" within the "Template Type" selection above the wysiwyg editor in the page template editing tool.  If you set the editor to "full page" in the "Template Type" selection at the top of the wysiwyg editing tool when editing html within the wysiwyg will assume the html it is currently editing should be a full html page and insert <html>, <head> and <body> tags within the html to "correct" the html for "full page" use.  If "partial page" is selected the wysiwyg editor will assume only a snippet of html is needed to be edited and will not "correct" the html to include <html>, <head> and <body> tags to complete for a full html page.
 +
 +**The tabs on my wysiwyg editor do not work.  How do I fix**
 +
 +Change the following admin tool setting and refresh the wysiwyg page to see if that fixes:
 +
 +ADMIN TOOLS & SETTINGS > WYSIWYG SETTINGS > USE GZIP COMPRESSION
 +
admin_menu/admin_tools_settings/wysiwyg_settings/start.1253640375.txt.gz · Last modified: 2014/09/25 16:55 (external edit)