CSSISSUE : AADHAVAN

This commit is contained in:
aadhavan valli 2024-02-10 15:56:52 +05:30
parent ace083b56c
commit 84e5110f78
2 changed files with 10 additions and 10 deletions

View File

@ -439,8 +439,8 @@
overflow-x: clip;
max-height: 750px;
padding:0 10px 20px;
width: 314px;
/* width: 285px; */
/* width: 314px; */
width: 285px;
height: -webkit-fill-available;
}
@ -6068,7 +6068,7 @@ setInterval(removeNonExistentIdseveryTime, 1000)
//Start this for Fcous where drag and drop using Arrow
<!-- //Start this for Fcous where drag and drop using Arrow -->
<script>
document.addEventListener('click', handleClick);
@ -6082,10 +6082,10 @@ setInterval(removeNonExistentIdseveryTime, 1000)
}
}
</script>
//End this for Focus where drag and drop using Arrow
<!-- //End this for Focus where drag and drop using Arrow -->
//Start this for Highlight the All Div when its focus
<!-- Start this for Highlight the All Div when its focus -->
<script>
document.addEventListener('focus', function(event) {
if (event.target.className == "jodit-wysiwyg") {
@ -6096,7 +6096,7 @@ setInterval(removeNonExistentIdseveryTime, 1000)
event.target.classList.remove('focused');
}, true);
</script>
//End this for Highlight the All Div when its focus
<!-- //End this for Highlight the All Div when its focus -->
<script>

View File

@ -701,14 +701,14 @@ function duplicateFile(oldfilename) {
Swal.fire({
title: 'Enter Filename',
input: 'text',
inputValue: '.xml',
inputValue: '',
showCancelButton: true,
confirmButtonText: 'Submit',
cancelButtonText: 'Cancel',
inputValidator: (value) => {
// console.log(value);
const entervalue =value
if (value == '.xml') {
if (value == '') {
return 'You need to enter Filename!'
}
else if (value){
@ -720,7 +720,7 @@ function duplicateFile(oldfilename) {
const jsonFilePath = `${xmlPath}${jsonFileName}`;
const newXmlFileNameParts = entervalue.split('.xml');
const newXmlFileNameParts = entervalue;
const newXmlBaseName = newXmlFileNameParts[0];
const newJsonFileName = `${newXmlBaseName}_answer.json`;
@ -747,7 +747,7 @@ function duplicateFile(oldfilename) {
}else{
try {
const content = fs.readFileSync(`${xmlFilePath}${oldfilename}`, 'utf-8');
fs.writeFileSync(`${xmlFilePath}${entervalue}`, content, 'utf-8');
fs.writeFileSync(`${xmlFilePath}${entervalue}.xml`, content, 'utf-8');
Swal.fire({
title: "File Duplicated",
icon: "success"