The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Advance edit strips br tags in 4.1.9
Whenever the advance edit option is used, all of the br tags in a post are being stripped (the separation between paragraphs is lost). I'm using vBulletin 4.1.9 and I have tried disabling all of my plugins but the problem still persists.
Any help in getting this fixed would really be appreciated. |
#2
|
||||
|
||||
This is a known bug - search WYSIWYG in Jira. There is a .diff file in the report if you are able to use those.
|
#3
|
|||
|
|||
Lynne, in Jira I found http://tracker.vbulletin.com/browse/VBIV-13639 and downloaded the .diff file. How would I know what should be changed in the clientscript/vbulletin_quick_edit.js file? There are no instructions to do this on Jira.
|
#4
|
||||
|
||||
You would use the .diff file to make the changes or read the diff file via a text editor and make the changes manually (- means remove the line + means add the line). You may do a search to find instructions on how to do this (on a PC) over on vbulletin.com
|
#5
|
|||
|
|||
OMG, why can't they just make the corrected files available to overwrite the bad files?!?! I read what is needed to use the .diff file and while I'm not an absolute newbie to adding mods and making template edits, etc., this is way over my head and a ridiculous way of fixing a problem.
I hope it is fixed in 4.1.10 and that a stable version of 4.1.10 will be released soon. |
#6
|
||||
|
||||
They've been providing .diff files as a way to fix a bug reported file for years now.
How to use Patch files (*.diff) for patching your vBulletin installation |
#7
|
||||
|
||||
Since it's marked as "Approved on Staging" for 4.1.10, it should be fixed
|
#8
|
|||
|
|||
Quote:
To do it manually the .diff file say to change the following in clientscript/vbulletin_quick_edit.js Code:
- form.add_variable('message', vB_Editor[vB_QuickEditor.editorid].get_editor_contents()); Code:
+ form.add_variable('message', vB_Editor[vB_QuickEditor.editorid].getRawData()); form.add_variable('message', vB_Editor[vB_QuickEditor.editorid].get_editor_contents()); Doesn't even exist in clientscript/vbulletin_quick_edit.js |
#9
|
|||
|
|||
I think they probably mean this:
Code:
A.add_variable("message",vB_Editor[vB_QuickEditor.editorid].get_editor_contents()); I guess the variable names get changed to one letter in the distribution to cut down the file size. (but I don't know why the diff would have 'form'). |
#10
|
||||
|
||||
In the same file (/clientscript/vbulletin_quick_edit.js), try changing this:
PHP Code:
PHP Code:
EDIT: Kevin posted as I was going through the file lol |
Благодарность от: | ||
kh99 |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|