rsp
23 August 2024 21:44
1
Hello,
The description field in edit view is not visible for cases module but it is visible in detail view. I could see the below error in the console related to tinyMCE.
include/javascript/tiny_mce/plugins/code/editor_plugin.js?v=6WYxxxxMg net::ERR_ABORTED 404 (Not Found)
How to fix it?
include/javascript/tiny_mce/plugins/code/editor_plugin.js
Does this file exist on your system? Probably not.
Which code file is trying to include it?
rsp
26 August 2024 15:18
3
Hello,
I donβt see such path in the CRM.
CODE
Also, on console it is showing Failed to load the below file, but it is already present.
β¦/include/javascript/tiny_mce/plugins/code/editor_plugin.js
β¦/custom/modules/Cases/metadata/editviewdefs.php
rsp
26 August 2024 15:58
4
I think I found the problem. The module had wysiwyg field and it was throwing an errors. I deleted that field and now we can see description field.
rsp
26 August 2024 16:20
5
Why in-build textarea field looks like this(those are with editor at the top)?
But, custom textarea fields are without that editor menu:
rsp
20 March 2025 21:00
6
What is the use of βnl2brβ => true ?
array (
0 =>
array (
'name' => 'description',
'nl2br' => true,
),
),
pgr
20 March 2025 22:03
7
Just by the look of it (but I didnβt check) it converts text newlines to html breaks, so \n
gets changed to <br/>
1 Like