Status |
---|
title | 릴리즈 Release 2.4.0 이상or Above |
---|
|
It is 'Personal Information Protection' plugin that filters personal information such as residential registration number, email address and phone number and masks them with '*'.
Image RemovedImage Added
How to Use
Loading Plugin File
...
Code Block |
---|
language | js |
---|
theme | Emacs |
---|
title | 에디터 설정Editor Configuration |
---|
|
//...
'editor.toolbar': [
//...,
'personalDataProtection',
//...
],
// ... |
...
Code Block |
---|
language | js |
---|
theme | Emacs |
---|
title | 에디터 설정Editor Configuration |
---|
|
//...
'editor.menu.definition': {
//...,
'tools': [
//...,
'personalDataProtection',
//...
],
//...
},
//... |
API
editor.checkPersonalData(callback)
Status |
---|
colour | Yellow |
---|
title | Release 2.13.0 or Above |
---|
|
Personal information check is performed and the result is returned to the callback function received as an argument.
Parameters:
name | Type | Description |
---|
callback | Function | This is a callback function to receive the personal information check result. The check result is returned as a Boolean . function (result) {
// result value true: pass, false: fail
}
|
|
Example
Code Block |
---|
|
editor.checkPersonalData(function (result) {
if (!result) {
// If the Personal information check does not pass, open the personal information dialog
editor.getUIManager().showDialog('personalDataProtection');
}
}); |