View Issue Details

IDProjectCategoryView StatusLast Update
0004827OXID eShop (all versions)2.4. Administer productspublic2013-10-15 16:03
Reportermartinwegele 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version4.7.2 / 5.0.2 revision 53018 
Target VersionFixed in Version4.7.7 / 5.0.7 
Summary0004827: WYSIWYG editor cannot save empty texts
DescriptionWhenever you empty the "source" of the longdescription of a product the WYSIWYG editor will insert "< p > & nbsp; < / p >" when you click "Save".
This is very annoying if you want to have a variant article that inherits the longdesc from the parent article. Once you edit anything in the variant and click "save", the longdesc will be contain "< p > & nbsp; < / p >" and thus not inherit the longdesc of the parent any more.
Steps To ReproduceIn the demoshop empty the longdesc of any product, save it and check the "source" of the longdesc field afterwards.
Additional InformationIt does not matter if you are using the WYSIWYG editor in source mode or in design mode.
TagsWYSIWYG
ThemeBoth
BrowserAll
PHP Versionany
MySQL Versionany

Relationships

has duplicate 0005095 resolvedLinas Kukulskis 

 

is always set at wysiwyg-editor 

Activities

martinwegele

2013-01-07 11:44

reporter   ~0008228

Last edited: 2013-01-07 11:48

View 5 revisions

Unfortunately the bug tracker does not accept HTML-tags?
I wanted to write

 


Is there a bug in Mantis?

FibreFoX

2013-01-07 12:22

reporter   ~0008229

its a "feature" from the wysiwyg-editor itself, maybe a button with "delete content" would be a solution without having to debug the wysiwyg-code

tomas.lygutas

2013-06-17 16:45

reporter   ~0008779

Added code for clearing default empty string of WYSIWYG editor

martinwegele

2013-10-15 16:03

reporter   ~0009157

https://github.com/OXID-eSales/oxideshop_ce/commit/11ae3c11fba5bdbb00c8fb0e48d2a2eee0702618