Skip to content

Commit

Permalink
#9264: Fixed documentation link references in the code.
Browse files Browse the repository at this point in the history
  • Loading branch information
fredck committed Nov 19, 2012
1 parent 1725b62 commit 8a84177
Show file tree
Hide file tree
Showing 11 changed files with 23 additions and 23 deletions.
2 changes: 1 addition & 1 deletion plugins/autogrow/samples/autogrow.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ <h1 class="samples">
<p>
It is also possible to set a maximum height for the editor window. Once CKEditor
editing area reaches the value in pixels specified in the
<code><a class="samples" href="http://nightly-v4.ckeditor.com/ckeditor_api/#!/api/CKEDITOR.config-cfg-autoGrow_maxHeight">autoGrow_maxHeight</a></code>
<code><a class="samples" href="http://docs.ckeditor.com/#!/api/CKEDITOR.config-cfg-autoGrow_maxHeight">autoGrow_maxHeight</a></code>
configuration setting, scrollbars will be added and the editor window will no longer expand.
</p>
<p>
Expand Down
4 changes: 2 additions & 2 deletions plugins/devtools/plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ CKEDITOR.plugins.add( 'devtools', {
(function() {
function defaultCallback( editor, dialog, element, tabName ) {
var lang = editor.lang.devtools,
link = '<a href="http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.dialog.definition.' +
link = '<a href="http://docs.ckeditor.com/#!/api/CKEDITOR.dialog.definition.' +
( element ? ( element.type == 'text' ? 'textInput' : element.type ) : 'content' ) +
'.html" target="_blank">' + ( element ? element.type : 'content' ) + '</a>',
str = '<h2>' + lang.title + '</h2>' +
Expand Down Expand Up @@ -117,7 +117,7 @@ CKEDITOR.plugins.add( 'devtools', {
* // Show dialog window name, tab ID, and element ID.
* config.devtools_textCallback = function( editor, dialog, element, tabName ) {
* var lang = editor.lang.devtools,
* link = '<a href="http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.dialog.definition.' +
* link = '<a href="http://docs.ckeditor.com/#!/api/CKEDITOR.dialog.definition.' +
* ( element ? ( element.type == 'text' ? 'textInput' : element.type ) : 'content' ) +
* '.html" target="_blank">' + ( element ? element.type : 'content' ) + '</a>',
* str =
Expand Down
2 changes: 1 addition & 1 deletion plugins/devtools/samples/devtools.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ <h1 class="samples">
<strong>Developer Tools</strong> (<code>devtools</code>) plugin that displays
information about dialog window elements, including the name of the dialog window,
tab, and UI element. Please note that the tooltip also contains a link to the
<a href="http://nightly-v4.ckeditor.com/ckeditor_api/">CKEditor JavaScript API</a>
<a href="http://docs.ckeditor.com/#!/api">CKEditor JavaScript API</a>
documentation for each of the selected elements.
</p>
<p>
Expand Down
2 changes: 1 addition & 1 deletion plugins/dialog/samples/dialog.html
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ <h1 class="samples">
<div class="description">
<p>
This sample shows how to use the
<a class="samples" href="http://nightly-v4.ckeditor.com/ckeditor_api/#!/api/CKEDITOR.dialog">CKEditor Dialog API</a>
<a class="samples" href="http://docs.ckeditor.com/#!/api/CKEDITOR.dialog">CKEditor Dialog API</a>
to customize CKEditor dialog windows without changing the original editor code.
The following customizations are being done in the example below:
</p>
Expand Down
4 changes: 2 additions & 2 deletions plugins/enterkey/samples/enterkey.html
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ <h1 class="samples">
<p>
This sample shows how to configure the <em>Enter</em> and <em>Shift+Enter</em> keys
to perform actions specified in the
<a class="samples" href="http://nightly-v4.ckeditor.com/ckeditor_api/#!/api/CKEDITOR.config-cfg-enterMode"><code>enterMode</code></a>
and <a class="samples" href="http://nightly-v4.ckeditor.com/ckeditor_api/#!/api/CKEDITOR.config-cfg-shiftEnterMode"><code>shiftEnterMode</code></a>
<a class="samples" href="http://docs.ckeditor.com/#!/api/CKEDITOR.config-cfg-enterMode"><code>enterMode</code></a>
and <a class="samples" href="http://docs.ckeditor.com/#!/api/CKEDITOR.config-cfg-shiftEnterMode"><code>shiftEnterMode</code></a>
parameters, respectively.
You can choose from the following options:
</p>
Expand Down
4 changes: 2 additions & 2 deletions plugins/toolbar/samples/toolbar.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ <h1 class="samples">

<p>Since CKEditor 4 there are two ways to configure toolbar buttons.</p>

<h2 class="samples">By <a href="http://nightly-v4.ckeditor.com/ckeditor_api/#!/api/CKEDITOR.config-cfg-toolbar">config.toolbar</a></h2>
<h2 class="samples">By <a href="http://docs.ckeditor.com/#!/api/CKEDITOR.config-cfg-toolbar">config.toolbar</a></h2>

<p>
You can explicitly define which buttons are displayed in which groups and in which order.
Expand All @@ -46,7 +46,7 @@ <h2 class="samples">By <a href="http://nightly-v4.ckeditor.com/ckeditor_api/#!/a
]
});</pre>

<h2 class="samples">By <a href="http://nightly-v4.ckeditor.com/ckeditor_api/#!/api/CKEDITOR.config-cfg-toolbarGroups">config.toolbarGroups</a></h2>
<h2 class="samples">By <a href="http://docs.ckeditor.com/#!/api/CKEDITOR.config-cfg-toolbarGroups">config.toolbarGroups</a></h2>

<p>
You can define which groups of buttons (like e.g. <code>basicstyles</code>, <code>clipboard</code>
Expand Down
16 changes: 8 additions & 8 deletions samples/api.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
if ( editor.mode == 'wysiwyg' )
{
// Insert HTML code.
// http://nightly-v4.ckeditor.com/ckeditor_api/#!/api/CKEDITOR.editor-method-insertHtml
// http://docs.ckeditor.com/#!/api/CKEDITOR.editor-method-insertHtml
editor.insertHtml( value );
}
else
Expand All @@ -46,7 +46,7 @@
if ( editor.mode == 'wysiwyg' )
{
// Insert as plain text.
// http://nightly-v4.ckeditor.com/ckeditor_api/#!/api/CKEDITOR.editor-method-insertText
// http://docs.ckeditor.com/#!/api/CKEDITOR.editor-method-insertText
editor.insertText( value );
}
else
Expand All @@ -59,7 +59,7 @@
var value = document.getElementById( 'htmlArea' ).value;

// Set editor contents (replace current contents).
// http://nightly-v4.ckeditor.com/ckeditor_api/#!/api/CKEDITOR.editor-method-setData
// http://docs.ckeditor.com/#!/api/CKEDITOR.editor-method-setData
editor.setData( value );
}

Expand All @@ -68,7 +68,7 @@
var editor = CKEDITOR.instances.editor1;

// Get editor contents
// http://nightly-v4.ckeditor.com/ckeditor_api/#!/api/CKEDITOR.editor-method-getData
// http://docs.ckeditor.com/#!/api/CKEDITOR.editor-method-getData
alert( editor.getData() );
}

Expand All @@ -80,7 +80,7 @@
if ( editor.mode == 'wysiwyg' )
{
// Execute the command.
// http://nightly-v4.ckeditor.com/ckeditor_api/#!/api/CKEDITOR.editor-method-execCommand
// http://docs.ckeditor.com/#!/api/CKEDITOR.editor-method-execCommand
editor.execCommand( commandName );
}
else
Expand All @@ -92,15 +92,15 @@
var editor = CKEDITOR.instances.editor1;
// Checks whether the current editor contents present changes when compared
// to the contents loaded into the editor at startup
// http://nightly-v4.ckeditor.com/ckeditor_api/#!/api/CKEDITOR.editor-method-checkDirty
// http://docs.ckeditor.com/#!/api/CKEDITOR.editor-method-checkDirty
alert( editor.checkDirty() );
}

function ResetDirty() {
// Get the editor instance that we want to interact with.
var editor = CKEDITOR.instances.editor1;
// Resets the "dirty state" of the editor (see CheckDirty())
// http://nightly-v4.ckeditor.com/ckeditor_api/#!/api/CKEDITOR.editor-method-resetDirty
// http://docs.ckeditor.com/#!/api/CKEDITOR.editor-method-resetDirty
editor.resetDirty();
alert( 'The "IsDirty" status has been reset' );
}
Expand All @@ -127,7 +127,7 @@ <h1 class="samples">
<div class="description">
<p>
This sample shows how to use the
<a class="samples" href="http://nightly-v4.ckeditor.com/ckeditor_api/#!/api/CKEDITOR.editor">CKEditor JavaScript API</a>
<a class="samples" href="http://docs.ckeditor.com/#!/api/CKEDITOR.editor">CKEditor JavaScript API</a>
to interact with the editor at runtime.
</p>
<p>
Expand Down
4 changes: 2 additions & 2 deletions samples/readonly.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@

function toggleReadOnly( isReadOnly ) {
// Change the read-only state of the editor.
// http://nightly-v4.ckeditor.com/ckeditor_api/#!/api/CKEDITOR.editor-method-setReadOnly
// http://docs.ckeditor.com/#!/api/CKEDITOR.editor-method-setReadOnly
editor.setReadOnly( isReadOnly );
}

Expand All @@ -43,7 +43,7 @@ <h1 class="samples">
<div class="description">
<p>
This sample shows how to use the
<code><a class="samples" href="http://nightly-v4.ckeditor.com/ckeditor_api/#!/api/CKEDITOR.editor-method-setReadOnly">setReadOnly</a></code>
<code><a class="samples" href="http://docs.ckeditor.com/#!/api/CKEDITOR.editor-method-setReadOnly">setReadOnly</a></code>
API to put editor into the read-only state that makes it impossible for users to change the editor contents.
</p>
<p>
Expand Down
4 changes: 2 additions & 2 deletions samples/uilanguages.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ <h1 class="samples">
<p>
By default, CKEditor automatically localizes the editor to the language of the user.
The UI language can be controlled with two configuration options:
<code><a class="samples" href="http://nightly-v4.ckeditor.com/ckeditor_api/#!/api/CKEDITOR.config-cfg-language">language</a></code> and
<code><a class="samples" href="http://nightly-v4.ckeditor.com/ckeditor_api/#!/api/CKEDITOR.config-cfg-defaultLanguage">
<code><a class="samples" href="http://docs.ckeditor.com/#!/api/CKEDITOR.config-cfg-language">language</a></code> and
<code><a class="samples" href="http://docs.ckeditor.com/#!/api/CKEDITOR.config-cfg-defaultLanguage">
defaultLanguage</a></code>. The <code>defaultLanguage</code> setting specifies the
default CKEditor language to be used when a localization suitable for user's settings is not available.
</p>
Expand Down
2 changes: 1 addition & 1 deletion skins/kama/skin.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ CKEDITOR.skin.name = 'kama';
// The accepted browser names must match the CKEDITOR.env properties. The most
// common names are: ie, opera, webkit and gecko. Check the documentation for
// the complete list:
// http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.env.html
// http://docs.ckeditor.com/#!/api/CKEDITOR.env
//
// Internet explorer is an expection and the browser version is also accepted
// (ie7, ie8, ie9, ie10), as well as a special name for IE in Quirks mode (iequirks).
Expand Down
2 changes: 1 addition & 1 deletion skins/moono/skin.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ CKEDITOR.skin.name = 'moono';
// The accepted browser names must match the CKEDITOR.env properties. The most
// common names are: ie, opera, webkit and gecko. Check the documentation for
// the complete list:
// http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.env.html
// http://docs.ckeditor.com/#!/api/CKEDITOR.env
//
// Internet explorer is an expection and the browser version is also accepted
// (ie7, ie8, ie9, ie10), as well as a special name for IE in Quirks mode (iequirks).
Expand Down

0 comments on commit 8a84177

Please sign in to comment.