Open imdong opened 9 months ago
The cdn.js file has been moved to common , which should be done because it is common.
And the default address has been set to the default value of the configuration item, and the default setting has been removed from the js code.
But this change may have a potential problem:
The user sets up a cdn and then clears the settings to try to restore to the default configuration.
Then at this time, the page may report an error because it obtains a blank string. Of course, there is a default value from the beginning and there is no description of blank items. However, the best solution here may be to add a' reset' button to the input box with a' default' configuration, which may be the logic of core.
Changes proposed in this pull request:
Modified extension emoji, the cdn mirror address configuration item is added to the extended emoji settings page of the management interface. This option affects the Preview address of emoji in the Post, Reply, and Reply edit box Autocomplete.
Reviewers should focus on:
Some cdn only provide version 14.0.2 and do not provide a short address of 14, and if the user enters the wrong address, it cannot be displayed. In addition, non-native English speakers, such as translation documents or comments unreasonable please understand
Screenshot
QA
Necessity
Confirmed
composer test
).