Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[develop] Update docs URLs #4294

Draft
wants to merge 1 commit into
base: develop
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Crafter Studio UI
=================

Studio UI is the authoring interface for CrafterCMS. Learn more at http://docs.craftercms.org.
Studio UI is the authoring interface for CrafterCMS. Learn more at http://craftercms.com/docs.

# Community
## Contributors
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -195,8 +195,8 @@ CStudioForms.Controls.RTE.ImageInsert = CStudioForms.Controls.RTE.ImageInsert ||
return {
longname: 'Crafter Studio Insert Image',
author: 'CrafterCMS',
authorurl: 'https://craftercms.org',
infourl: 'https://craftercms.org',
authorurl: 'https://craftercms.com',
infourl: 'https://craftercms.com',
version: '1.0'
};
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ CStudioForms.Controls.RTE.InsertPredefinedTable = CStudioForms.Controls.RTE.Inse
return {
longname: 'Crafter Studio Insert Predefined Table',
author: 'CrafterCMS',
authorurl: 'https://craftercms.org',
infourl: 'https://craftercms.org',
authorurl: 'https://craftercms.com',
infourl: 'https://craftercms.com',
version: '1.0'
};
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,8 @@
return {
longname : 'CStudioContextmenu',
author : 'CrafterCMS',
authorurl : 'https://craftercms.org',
infourl : 'https://craftercms.org',
authorurl : 'https://craftercms.com',
infourl : 'https://craftercms.com',
version : "1.0"
};
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,8 @@
return {
longname : 'CStudioContextmenu',
author : 'CrafterCMS',
authorurl : 'https://craftercms.org',
infourl : 'https://craftercms.org',
authorurl : 'https://craftercms.com',
infourl : 'https://craftercms.com',
version : "1.0"
};
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@
return {
longname: 'Crafter Studio Inline Popups Customization',
author: 'CrafterCMS',
authorurl: 'https://craftercms.org',
infourl: 'https://craftercms.org',
authorurl: 'https://craftercms.com',
infourl: 'https://craftercms.com',
version: "1.0"
};
}
Expand Down Expand Up @@ -58,7 +58,7 @@
if (parentWindow && DOM.get(parentWindow.id + '_ifr')) {
parentWindow.focussedElement = DOM.get(parentWindow.id + '_ifr').contentWindow.document.activeElement;
}

// Only store selection if the type is a normal window
if (!f.type)
t.bookmark = ed.selection.getBookmark(1);
Expand All @@ -78,28 +78,28 @@
f.height = 300;
f.opaque = true;
break;
case "link.htm":
f.height = 275;
case "link.htm":
f.height = 275;
p.authoringObj = CStudioAuthoring; // insert the variable in the scope of the plugin
p.contextObj = CStudioAuthoringContext; // insert the variable in the scope of the plugin
break;
case "anchor.htm":
f.height = 148;
case "anchor.htm":
f.height = 148;
break;
case "table.htm":
f.height = 370;
case "table.htm":
f.height = 370;
break;
case "row.htm":
f.height = 295;
case "row.htm":
f.height = 295;
break;
case "cell.htm":
f.height = 320;
case "cell.htm":
f.height = 320;
break;
case "image.htm":
f.height = 295;
case "image.htm":
f.height = 295;
p.contextObj = CStudioAuthoringContext;
break;
case "merge_cells.htm":
case "merge_cells.htm":
f.height = 180;
break;
default:
Expand Down Expand Up @@ -155,17 +155,17 @@
opt += ' mceMovable';

// Create DOM objects
t._addAll(DOM.doc.body,
['div', {id : id, role : 'dialog', 'aria-labelledby': f.type ? id + '_content' : id + '_title', 'class' : (f.opaque ? 'opaque' : '') + ' ' + (ed.settings.inlinepopups_skin || 'clearlooks2') + (tinymce2.isIE && window.getSelection ? ' ie9' : ''), style : 'width:100px;height:100px'},
t._addAll(DOM.doc.body,
['div', {id : id, role : 'dialog', 'aria-labelledby': f.type ? id + '_content' : id + '_title', 'class' : (f.opaque ? 'opaque' : '') + ' ' + (ed.settings.inlinepopups_skin || 'clearlooks2') + (tinymce2.isIE && window.getSelection ? ' ie9' : ''), style : 'width:100px;height:100px'},
['div', {id : id + '_wrapper', 'class' : 'mceWrapper' + opt},
['div', {id : id + '_top', 'class' : 'mceTop'},
['div', {id : id + '_top', 'class' : 'mceTop'},
['div', {'class' : 'mceLeft'}],
['div', {'class' : 'mceCenter'}],
['div', {'class' : 'mceRight'}],
['span', {id : id + '_title'}, f.title || '']
],

['div', {id : id + '_middle', 'class' : 'mceMiddle'},
['div', {id : id + '_middle', 'class' : 'mceMiddle'},
['div', {id : id + '_left', 'class' : 'mceLeft', tabindex : '0'}],
['span', {id : id + '_content'}],
['div', {id : id + '_right', 'class' : 'mceRight', tabindex : '0'}]
Expand Down Expand Up @@ -256,7 +256,7 @@

DOM.add(id + '_middle', 'div', {'class' : 'mceIcon'});
DOM.setHTML(id + '_content', f.content.replace('\n', '<br />'));

Event.add(id, 'keyup', function(evt) {
var VK_ESCAPE = 27;
if (evt.keyCode === VK_ESCAPE) {
Expand Down Expand Up @@ -333,7 +333,7 @@
}
}
});

// Make sure the tab order loops within the dialog.
Event.add([id + '_left', id + '_right'], 'focus', function(evt) {
var iframe = DOM.get(id + '_ifr');
Expand All @@ -349,7 +349,7 @@
DOM.get(id + '_ok').focus();
}
});

// Add window
w = t.windows[id] = {
id : id,
Expand Down Expand Up @@ -408,7 +408,7 @@
DOM.removeClass(t.lastId, 'mceFocus');
DOM.addClass(id, 'mceFocus');
t.lastId = id;

if (w.focussedElement) {
w.focussedElement.focus();
} else if (DOM.get(id + '_ok')) {
Expand Down Expand Up @@ -553,7 +553,7 @@

dw = v;
}

if (dh < (v = w.features.min_height - sz.h)) {
if (dy !== 0)
dy += dh - v;
Expand All @@ -572,7 +572,7 @@
if (dx + dy !== 0) {
if (sx + dx < 0)
dx = 0;

if (sy + dy < 0)
dy = 0;

Expand Down Expand Up @@ -609,7 +609,7 @@
t.parent(win);
return;
} else {
// if it's an inline popup with no type (e.g not an alert), then unsubscribe
// if it's an inline popup with no type (e.g not an alert), then unsubscribe
if (w.features && !w.features.type) {
amplify.unsubscribe('/rte/clicked', w.features.clickSubscription);
amplify.unsubscribe('/rte/blurred', w.features.blurSubscription);
Expand All @@ -623,7 +623,7 @@
if (!t.mouseEvent)
// If there wasn't a mouse event, then a keyboard action (pressing Esc) is triggering the close
// In this case, set the focus back on the editor (since the forms-engine.js doesn't manage keyboard events ATM)
t.editor.focus();
t.editor.focus();
} else {
if (t.count == 1) {
DOM.hide('mceModalBlocker'); // Hide block overlay if there's only one overlay over the RTE
Expand All @@ -648,7 +648,7 @@
}
t.mouseEvent = false; // Reset mouseEvent flag
},

// Find front most window
_frontWindow : function() {
var fw, ix = 0;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@
return {
longname: 'Crafter Studio Inline Popups Customization',
author: 'CrafterCMS',
authorurl: 'https://craftercms.org',
infourl: 'https://craftercms.org',
authorurl: 'https://craftercms.com',
infourl: 'https://craftercms.com',
version: "1.0"
};
}
Expand Down Expand Up @@ -58,7 +58,7 @@
if (parentWindow && DOM.get(parentWindow.id + '_ifr')) {
parentWindow.focussedElement = DOM.get(parentWindow.id + '_ifr').contentWindow.document.activeElement;
}

// Only store selection if the type is a normal window
if (!f.type)
t.bookmark = ed.selection.getBookmark(1);
Expand All @@ -78,25 +78,25 @@
f.height = 270;
f.opaque = true;
break;
case "link.htm":
f.height = 244;
case "link.htm":
f.height = 244;
p.authoringObj = CStudioAuthoring; // insert the variable in the scope of the plugin
p.contextObj = CStudioAuthoringContext; // insert the variable in the scope of the plugin
break;
case "anchor.htm":
f.height = 148;
case "anchor.htm":
f.height = 148;
break;
case "table.htm":
f.height = 370;
case "table.htm":
f.height = 370;
break;
case "row.htm":
f.height = 295;
case "row.htm":
f.height = 295;
break;
case "cell.htm":
f.height = 320;
case "cell.htm":
f.height = 320;
break;
case "image.htm":
f.height = 295;
case "image.htm":
f.height = 295;
p.contextObj = CStudioAuthoringContext;
break;
default:
Expand Down Expand Up @@ -152,17 +152,17 @@
opt += ' mceMovable';

// Create DOM objects
t._addAll(DOM.doc.body,
['div', {id : id, role : 'dialog', 'aria-labelledby': f.type ? id + '_content' : id + '_title', 'class' : (f.opaque ? 'opaque' : '') + ' ' + (ed.settings.inlinepopups_skin || 'clearlooks2') + (tinymce2.isIE && window.getSelection ? ' ie9' : ''), style : 'width:100px;height:100px'},
t._addAll(DOM.doc.body,
['div', {id : id, role : 'dialog', 'aria-labelledby': f.type ? id + '_content' : id + '_title', 'class' : (f.opaque ? 'opaque' : '') + ' ' + (ed.settings.inlinepopups_skin || 'clearlooks2') + (tinymce2.isIE && window.getSelection ? ' ie9' : ''), style : 'width:100px;height:100px'},
['div', {id : id + '_wrapper', 'class' : 'mceWrapper' + opt},
['div', {id : id + '_top', 'class' : 'mceTop'},
['div', {id : id + '_top', 'class' : 'mceTop'},
['div', {'class' : 'mceLeft'}],
['div', {'class' : 'mceCenter'}],
['div', {'class' : 'mceRight'}],
['span', {id : id + '_title'}, f.title || '']
],

['div', {id : id + '_middle', 'class' : 'mceMiddle'},
['div', {id : id + '_middle', 'class' : 'mceMiddle'},
['div', {id : id + '_left', 'class' : 'mceLeft', tabindex : '0'}],
['span', {id : id + '_content'}],
['div', {id : id + '_right', 'class' : 'mceRight', tabindex : '0'}]
Expand Down Expand Up @@ -253,7 +253,7 @@

DOM.add(id + '_middle', 'div', {'class' : 'mceIcon'});
DOM.setHTML(id + '_content', f.content.replace('\n', '<br />'));

Event.add(id, 'keyup', function(evt) {
var VK_ESCAPE = 27;
if (evt.keyCode === VK_ESCAPE) {
Expand Down Expand Up @@ -330,7 +330,7 @@
}
}
});

// Make sure the tab order loops within the dialog.
Event.add([id + '_left', id + '_right'], 'focus', function(evt) {
var iframe = DOM.get(id + '_ifr');
Expand All @@ -346,7 +346,7 @@
DOM.get(id + '_ok').focus();
}
});

// Add window
w = t.windows[id] = {
id : id,
Expand Down Expand Up @@ -405,7 +405,7 @@
DOM.removeClass(t.lastId, 'mceFocus');
DOM.addClass(id, 'mceFocus');
t.lastId = id;

if (w.focussedElement) {
w.focussedElement.focus();
} else if (DOM.get(id + '_ok')) {
Expand Down Expand Up @@ -550,7 +550,7 @@

dw = v;
}

if (dh < (v = w.features.min_height - sz.h)) {
if (dy !== 0)
dy += dh - v;
Expand All @@ -569,7 +569,7 @@
if (dx + dy !== 0) {
if (sx + dx < 0)
dx = 0;

if (sy + dy < 0)
dy = 0;

Expand Down Expand Up @@ -606,7 +606,7 @@
t.parent(win);
return;
} else {
// if it's an inline popup with no type (e.g not an alert), then unsubscribe
// if it's an inline popup with no type (e.g not an alert), then unsubscribe
if (w.features && !w.features.type) {
amplify.unsubscribe('/rte/clicked', w.features.clickSubscription);
amplify.unsubscribe('/rte/blurred', w.features.blurSubscription);
Expand All @@ -620,7 +620,7 @@
if (!t.mouseEvent)
// If there wasn't a mouse event, then a keyboard action (pressing Esc) is triggering the close
// In this case, set the focus back on the editor (since the forms-engine.js doesn't manage keyboard events ATM)
t.editor.focus();
t.editor.focus();
} else {
if (t.count == 1) {
DOM.hide('mceModalBlocker'); // Hide block overlay if there's only one overlay over the RTE
Expand All @@ -645,7 +645,7 @@
}
t.mouseEvent = false; // Reset mouseEvent flag
},

// Find front most window
_frontWindow : function() {
var fw, ix = 0;
Expand Down
Loading