Project

General

Profile

修改功能 #320

The default font size is too small

Added by Xihua Fan about 2 years ago. Updated about 1 year ago.

Status:
已关闭
Priority:
普通
Assignee:
Target version:
IT: Easytryck (Sweden) - v3.0
Start date:
10/23/2023
Due date:
10/31/2023
% Done:

100%

Estimated time:
8.00 h
Spent time:

Description

Task Details
  1. The default font size is too small such as extra info
    订单输入者一般不选择合适的Font Size,导致默认字体太小不易查看。我们能否修改默认字体(比如上升2-3个级别),或者所有的Font-size都上升级别。
Input
  • Sabre
Output
  • Report and Solution

Others


Files

#2

Updated by Zhongbao Ye about 2 years ago

  • Status changed from 进行中 to 已关闭
  • % Done changed from 0 to 100
Output(2023/10/23) 九亭
Solution: 2023/10/23 17:18
  1. Setting the default font for rich text editors. 10px => 1.5em (1em = 10px)
    • protected/views/layouts/desktop.php
    • ui/desktop/js/themes/advanced/editor_template.js
    • ui/desktop/libs/tinymce/themes/advanced/editor_template.js
    • ui/desktop/libs/tinymce/themes/advanced/skins/default/content.css
    • ui/desktop/libs/tinymce/tiny_mce.js
    • ui/desktop/libs/tinymce/jquery.tinymce.js
Note:
  • 注意,content.css文件是通过js动态加载,常规的方式通过对js添加版本号,不能立即刷新。
    需要一层层添加版本号,才能及时更新。editor_template.js 中 content.css?v5 => jquery.tinymce.js 中 editor_template.js?v5 => desktop.php 中 jquery.tinymce.js?v5
#3

Updated by Xihua Fan about 1 year ago

  • Target version set to v3.0

Also available in: Atom PDF