Please tolerate me for asking such a question. All the answers I found are for Drupal 7. There is barely any talk on this issue for Drupal 8. I am a beginner in Drupal and I am not a programming oriented person. However, I am determined to find the solution to make this work.
It seems the most straight forward solution is to add the following line of setting:
CKEDITOR.config.allowedContent = true;
However, where should I add it in Drupal 8? There's no (ckeditor).config.js, as far as I can find within my Drupal's installation directories. How or where should I proceed? Does this matter need coding in order to achieve my goal in Drupal 8?
Many of the CSS classes and scripts embedded within the content are stripped off by the CKEditor either after saving or works in the initial save but are then stripped after editing the content the second time.
If you have the patient for someone like me, please help. Much appreciated! If I am tackling the problem in a completely wrong direction, please advise as well. Thank you!