You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
It should be possible to allow only a constrained set of font families and to disallow any others from being used when pasted in by setting the fontFamily.supportAllValues property to false. But setting this property doesn't have any effect.
To Reproduce
Install the plugin and use the following custom ckeditor.txt file:
Describe the bug
It should be possible to allow only a constrained set of font families and to disallow any others from being used when pasted in by setting the
fontFamily.supportAllValues
property to false. But setting this property doesn't have any effect.To Reproduce
Install the plugin and use the following custom
ckeditor.txt
file:Expected behavior
Any custom fonts should be stripped when text is pasted in. Instead, all values are supported.
Screenshots
![image](https://private-user-images.githubusercontent.com/6851865/316839754-9f1e38bc-8a49-4e6a-aa62-b006588a04a1.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjU2MDIxNTAsIm5iZiI6MTcyNTYwMTg1MCwicGF0aCI6Ii82ODUxODY1LzMxNjgzOTc1NC05ZjFlMzhiYy04YTQ5LTRlNmEtYWE2Mi1iMDA2NTg4YTA0YTEucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDkwNiUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA5MDZUMDU1MDUwWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9NWIzNzg5MDUzYmRlZTc4N2NkOGZiZDZlNGI4NGExMThjZWY5NDM2MDdkZWVjNTBiYjQ2OGUzZjdiZjIwNzk0ZiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.zl0o08yXgcmAMqhhNMWP0OEzd_HjK3-d4Yutf114I-E)
This screenshot shows that the
fontFamily.options
list has been respected, but thesupportAllValues
property has not.please complete the following information:
The text was updated successfully, but these errors were encountered: