Main Koha release repository https://koha-community.org
Find a file
Lucas Gass 37e11da07b Bug 28525: Dont let TinyMCE do code cleanup
If you look at Bug 24764 and Bug 26942 we adjusted the TinyMCE for the News tool so it will not do some types of automatic code clean up.

The TinyMCE editor for system preferences which can be enabled by 'UseWYSIWYGinSystemPreferences' has the same problems.

We should make the configurations the same.

To Test:
1. Turn on 'UseWYSIWYGinSystemPreferences'
2. Go to a system preference like 'RestrictedPageContent'
3. Try entering something like '<i class="fa fa-facebook-official" aria-hidden="true">TEST</i>' in the Source Code window
4. It gets cleaned up by the editor
5. Try something like '<a href="https://www.test.com" referrerpolicy="&quot;no-referrer-when-downgrade">TEST</a>'
6. It's cleaned up by the editor.
7. Try something like '<link href="https://fonts.googleapis.com/css?family=Open+Sans” rel=“stylesheet">'
8. Cleaned up by editor.
9. Apply patch
10. Try step 3, 5, and 7 again.
11. It should not be changed by the editor

Signed-off-by: Barbara Johnson <barbara.johnson@bedfordtx.gov>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2021-08-18 15:08:45 +02:00
acqui
admin Bug 28393: Elasticsearch - Add 050a to lc-call-number index mapping (MARC21) 2021-08-16 09:56:47 +02:00
api Bug 28842: A summary to the /items/:item_id/pickup_locations route 2021-08-16 09:56:35 +02:00
authorities Bug 17600: Add missing imports in authorities/ 2021-08-03 14:55:26 +02:00
basket
bin
C4 Bug 28776: Warns from GetItemsInfo when biblio marked as serial 2021-08-18 14:53:59 +02:00
catalogue Bug 12561: Change prototype of XSLTParse4Display 2021-08-16 09:57:05 +02:00
cataloguing Bug 28533: Set subfields to 'undef' if whole field request in itemcallnumebr system preference 2021-08-04 09:14:46 +02:00
circ Bug 10902: Use prefetch and dbic rs 2021-08-16 11:55:56 +02:00
clubs Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
course_reserves
debian Bug 28749: Restore the database name to Koha dumps 2021-07-30 15:54:05 +02:00
docs
errors
etc Bug 25464: Add ability to specify client IP and SIP account used in SIP2 logging 2021-07-26 12:46:32 +02:00
ill
installer Bug 25078: Explicitely return from DB revs to avoid warnings 2021-08-18 12:59:35 +02:00
Koha Bug 24387: Fix Letters/TemplateToolkit.t 2021-08-16 15:18:10 +02:00
koha-tmpl Bug 28525: Dont let TinyMCE do code cleanup 2021-08-18 15:08:45 +02:00
labels
lib/CGI/Session/Serialize
members Bug 22435: Update accountline-details page to show all history 2021-08-04 14:06:43 +02:00
misc Bug 22435: Update for bug 27049 2021-08-04 14:06:43 +02:00
offline_circ
opac Bug 24387: Rename "News" with "Additional contents" 2021-08-16 11:55:55 +02:00
patron_lists
patroncards
plugins
pos Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
reports Bug 28804: (bug 25026 follow-up) Handle SQL errors in reports 2021-08-11 12:00:10 +02:00
reserve Bug 28779: (QA follow-up) More specific message and soem cleanup 2021-08-11 13:27:52 +02:00
reviews Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
rotating_collections
serials
services
skel
suggestion Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
svc Bug 24387: Rename "News" with "Additional contents" 2021-08-16 11:55:55 +02:00
t Bug 28873: Fix age displayed in db_dependent/Koha/Patrons.t 2021-08-18 12:40:51 +00:00
tags
tmp/modified_authorities
tools Bug 28765: Remove sub find_value from batchMod.pl 2021-08-16 11:55:55 +02:00
virtualshelves Bug 12561: Change prototype of XSLTParse4Display 2021-08-16 09:57:05 +02:00
xt
.editorconfig Bug 24774: Set JSON indentation of 2 spaces in .editorconfig 2020-03-19 09:24:52 +00:00
.eslintrc.json
.gitignore
.htaccess
.mailmap
.perlcriticrc
.scss-lint.yml
about.pl Bug 12561: Add warning on about page 2021-08-16 09:57:05 +02:00
app.psgi
changelanguage.pl
cpanfile
fix-perl-path.PL
gulpfile.js
help.pl
INSTALL
Koha.pm Bug 24387: DBRev 21.06.00.016 2021-08-16 11:55:55 +02:00
koha_perl_deps.pl
kohaversion.pl Bug 26384: Fix executable flags 2020-09-11 09:56:56 +02:00
LICENSE
mainpage.pl Bug 24387: Rename "News" with "Additional contents" 2021-08-16 11:55:55 +02:00
Makefile.PL
MANIFEST.SKIP Bug 9546 : Updating make manifest tardist 2013-02-06 23:54:46 -05:00
package.json
README
README.md
README.robots
rewrite-config.PL Bug 28519: Put CGI::Session::Serialize::yamlxs in lib directory 2021-06-17 10:07:36 +02:00
yarn.lock

Koha is a free software integrated library system (ILS).

Koha is distributed under the GNU GPL version 3 or later.

Note: Koha does not accept pull requests from git hosting sites.

Note: This project has its own bug tracker, to report a bug or submit a patch visit http://bugs.koha-community.org.

For guidelines on submitting patches for Koha please visit https://wiki.koha-community.org/wiki/SubmitingAPatch

The developers handbook can be found at https://wiki.koha-community.org/wiki/Developer_handbook

http://koha-community.org/

Koha Logo