- Posts: 337
- Thank you received: 6
Kunena 7.0.4 Released
The Kunena team has announce the arrival of Kunena 7.0.4 [K 7.0.4] in stable which is now available for download as a native Joomla extension for J! 5.4.x/6.0.x. This version addresses most of the issues that were discovered in K 6.2 / K 6.3 / K 6.4 and issues discovered during the last development stages of K 7.0
This category contains miscellaneous, uncategorised user contributions, (templates, modules, plugins and hacks) relating to older versions of Kunena that are no longer supported.
The topics in this category are for historical interest only. Owing to the structural changes that occurred in K 1.7, many of the ideas in these topics will not work with later versions and, for that reason, the topics are locked.
The topics in this category are for historical interest only. Owing to the structural changes that occurred in K 1.7, many of the ideas in these topics will not work with later versions and, for that reason, the topics are locked.
Important Kunena Editor - HotKey needed
17 years 2 months ago - 17 years 2 months ago #6531
by roland76
Replied by roland76 on topic Re:Kunena Editor - HotKey needed
Thanks for the information.
I you want to change it, open components\com_kunena\lib\kunena.bbcode.js.php
go to line 30 and change
into
I you want to change it, open components\com_kunena\lib\kunena.bbcode.js.php
go to line 30 and change
Code:
if (Ereignis.ctrlKey && Ereignis.shiftKey) {
Code:
if (Ereignis.ctrlKey) {
Last edit: 17 years 2 months ago by roland76.
Please Log in or Create an account to join the conversation.
17 years 2 months ago #6532
by sozzled
Blue Eagle vs. Crypsis reference guide
Read my blog and
Replied by sozzled on topic Re:Kunena Editor - HotKey needed
Just to be clear: That's line 30 of your modified .PHP file.
Thanks. I'll try to get around to testing this over the weekend.
Thanks. I'll try to get around to testing this over the weekend.
Blue Eagle vs. Crypsis reference guide
Read my blog and
Please Log in or Create an account to join the conversation.
17 years 2 months ago - 17 years 2 months ago #6588
by suman
Replied by suman on topic Re:Kunena Editor - HotKey needed
Great Work :woohoo:
I request DEVs to include this tweak in the CORE System.
Its a must have
BTW, I prefer - CTRL+B for BOLD
, not CTRL+SHIFT+B
I request DEVs to include this tweak in the CORE System.
Its a must have
BTW, I prefer - CTRL+B for BOLD
Last edit: 17 years 2 months ago by suman.
Please Log in or Create an account to join the conversation.
- Aligator21
-
- Offline
- Junior Member
-
Less
More
- Posts: 24
- Thank you received: 0
17 years 2 months ago #6589
by Aligator21
Replied by Aligator21 on topic Re:Kunena Editor - HotKey needed
great!!!!!
thanks for this
thanks for this
Please Log in or Create an account to join the conversation.
17 years 2 months ago - 17 years 2 months ago #6636
by sozzled
Blue Eagle vs. Crypsis reference guide
Read my blog and
Replied by sozzled on topic Re:Kunena Editor - HotKey needed
@roland76 and @suman:
I've done some testing and the results are mixed. Some people might prefer a hotkey combination to generate the Quote or Code bbcode and others may not. The problem - restated - arises for those who are habitually accustomed to using hotkey combinations for bold, italics and underlining ... people like me! :pinch:. For most people in the English-speaking world, these are achieved (in Microsoft Office) by CTRL-b CTRL-i and CTRL-u respectively.
CTRL-c, on the other hand, is normally used with "copy" (and correspondingly CTRL-v for "paste"). Therefore, using a hotkey combination in Kunena, such as CTRL-c for Code would be both confusing and inappropriate.
For these reasons, therefore, I modified roland76's programming for his version of kunena.bbcode.js.php as follows:
Unfortunately, this doesn't achieve the effect of bolding the text; for Internet Explorer, pressing CTRL-b displays a dialog that allows the user to organise their "Favorites"/bookmarks. Although, CTRL-i does correctly wrap the selected text with matching "i" tags, pressing it also also activates the standard Internet Explorer behaviour that displays the users "Favorites". Maybe there's a need to invoke the
window.event.cancelBubble method
around the same time?
As suman says, it would be preferable for us to press CTRL and not CTRL+SHIFT to perform bolding, italicising and underlining. We're making headway and I appreciate the efforts that roland76 has been making.
I've done some testing and the results are mixed. Some people might prefer a hotkey combination to generate the Quote or Code bbcode and others may not. The problem - restated - arises for those who are habitually accustomed to using hotkey combinations for bold, italics and underlining ... people like me! :pinch:. For most people in the English-speaking world, these are achieved (in Microsoft Office) by CTRL-b CTRL-i and CTRL-u respectively.
CTRL-c, on the other hand, is normally used with "copy" (and correspondingly CTRL-v for "paste"). Therefore, using a hotkey combination in Kunena, such as CTRL-c for Code would be both confusing and inappropriate.
For these reasons, therefore, I modified roland76's programming for his version of kunena.bbcode.js.php as follows:
Code:
function Tastendruck (Ereignis) {
Ereignis = window.event;
if (Ereignis.ctrlKey) {
if (Ereignis.keyCode == "66")
bbfontstyle("[b]", "[/b]");
if (Ereignis.keyCode == "73")
bbfontstyle("[i]", "[/i]");
if (Ereignis.keyCode == "85")
bbfontstyle("[u]", "[/u]");
}
}
As suman says, it would be preferable for us to press CTRL and not CTRL+SHIFT to perform bolding, italicising and underlining. We're making headway and I appreciate the efforts that roland76 has been making.
Blue Eagle vs. Crypsis reference guide
Read my blog and
Last edit: 17 years 2 months ago by sozzled.
Please Log in or Create an account to join the conversation.
15 years 1 month ago #88501
by altious
Replied by altious on topic Hotkey for bold, italics etc?
Do Kunena have hotkey like ctrl b for bold?
I tried to find in the documentation but couldn't find info about this
I tried to find in the documentation but couldn't find info about this
Please Log in or Create an account to join the conversation.
Time to create page: 0.318 seconds