plugin:ckgedit:font_styling
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
plugin:ckgedit:font_styling [2016-05-27 01:10] – [Important Preliminaries] 24.78.88.211 | plugin:ckgedit:font_styling [2017-07-12 02:50] (current) – [Graphical Editing] turnermm | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | [[plugin: | ||
===== Font Styling ===== | ===== Font Styling ===== | ||
Line 6: | Line 7: | ||
| | ||
- You cannot style text that contains links. | - You cannot style text that contains links. | ||
- | - You cannot style headers. Headers in Dokuwiki are always discrete entities and cannot accept any knid of formatting, including bold, | + | - You cannot style headers. Headers in Dokuwiki are always discrete entities and cannot accept any kind of formatting, including bold, |
+ | - Styling is not meant for large blocks of text. | ||
+ | - If you are using font styling on the same page as tables, you must be sure to have on the [[plugin: | ||
+ | *:!: Please Note: There are some cases where, even when the complex tables option is on, the table will be corrupted by the presence of font styling. | ||
+ | |||
+ | ==== About Font styling ==== | ||
Font styling((Font style here covers font size, face, color, background-color.)) | Font styling((Font style here covers font size, face, color, background-color.)) | ||
Line 12: | Line 18: | ||
This is some styling created in ckgedit using the font styling tools: | This is some styling created in ckgedit using the font styling tools: | ||
- | {{ http://i1369.photobucket.com/albums/ | + | {{ http://i.imgur.com/hPkW0ei.png }} |
When saved, the result will be: | When saved, the result will be: | ||
- | {{ http://i1369.photobucket.com/albums/ | + | {{ http://i.imgur.com/BSptD83.png }} |
When your page is saved, it will have the following markup: | When your page is saved, it will have the following markup: | ||
Line 24: | Line 30: | ||
</ | </ | ||
- | The plugin converts this style data and its text into the final result as it will appear in the browser. In previous versions of ckgedit | + | The plugin converts this style data and its text into the final result as it will appear in the browser.((In previous versions of ckgedit, prior to November 2014, when a page was reloaded into the editor, the plugin syntax would be displayed and not the final rendered result.)) Ckgedit comes with a number of features which give direct access to the font syntax and make it possible to edit the plugin syntax in the ckgedit editor. |
- | + | ||
- | Ckgedit comes with a number of features which give direct access to the font syntax and make it possible to edit the plugin syntax in the ckgedit editor. | + | |
===== Creating and Editing Font Styles ===== | ===== Creating and Editing Font Styles ===== | ||
Line 34: | Line 38: | ||
There are 5 tools for styling font: Font (face), Size, Text Color, Background Color, and the FontAssist plugin, which is used for inline editing of the font plugin' | There are 5 tools for styling font: Font (face), Size, Text Color, Background Color, and the FontAssist plugin, which is used for inline editing of the font plugin' | ||
- | {{ http://i1369.photobucket.com/albums/ | + | {{ http://i.imgur.com/CwLcwEu.png?& |
Select your text with mouse or keyboard and then click on the kinds of style you wish to set. You can apply all settings to the same text selection. | Select your text with mouse or keyboard and then click on the kinds of style you wish to set. You can apply all settings to the same text selection. | ||
Line 41: | Line 45: | ||
==== Combining font styles with Dokuwiki formats ==== | ==== Combining font styles with Dokuwiki formats ==== | ||
You can add formats, like bold and italic, to text which has been styled with font styling. | You can add formats, like bold and italic, to text which has been styled with font styling. | ||
+ | |||
+ | ==== Conflicts with Dokuwiki Links ==== | ||
+ | For the most part, when applying styles to links, the markup ends up being corrupted. The reason for this is that the font markup tends to get inter-laced with the link markup. | ||
+ | <font inherit/ | ||
+ | The only foolproof way of doing this is to go into the native Dokuwiki editor. | ||
+ | |||
Line 54: | Line 64: | ||
The first of these techniques is the default. You can select all or part of a text and re-set its styles. When setting an alternate background-color for part of a text, white space tends to open up on either side of the inserted color. | The first of these techniques is the default. You can select all or part of a text and re-set its styles. When setting an alternate background-color for part of a text, white space tends to open up on either side of the inserted color. | ||
- | {{ http://i1369.photobucket.com/albums/ | + | {{ http://i.imgur.com/GNWTZ3o.png }} |
A similar effect may also occur between lines when creating a block of text against a single background-color. If you want a solid, unbroken background-color, | A similar effect may also occur between lines when creating a block of text against a single background-color. If you want a solid, unbroken background-color, | ||
Line 73: | Line 83: | ||
You can make changes by selecting the plugin syntax with its enclosed text, and then clicking on the font Assist toolbar icon {{http:// | You can make changes by selecting the plugin syntax with its enclosed text, and then clicking on the font Assist toolbar icon {{http:// | ||
- | {{ http://i1369.photobucket.com/albums/ | + | {{ http://i.imgur.com/piIBDuy.png?400 }} |
Once you are satisfied with your changes, you can insert the changes into the editor by clicking the OK button. | Once you are satisfied with your changes, you can insert the changes into the editor by clicking the OK button. |
plugin/ckgedit/font_styling.1464304226.txt.gz · Last modified: 2016-05-27 01:10 by 24.78.88.211